Interface DownloadSourceSizingPolicy
-
- All Known Implementing Classes:
DownloadSourceSizingPolicy.AdjustableDownloadSizePolicy
,DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy
public interface DownloadSourceSizingPolicy
Defines the sizing policy used for download tabs.- Since:
- 12705
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DownloadSourceSizingPolicy.AdjustableDownloadSizePolicy
The height of this component is given by a preference entry.static class
DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy
The download source has a fixed size provided by the component
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getComponentHeight()
Gets the height of the download source panel.boolean
isHeightAdjustable()
Check whether the user should be allowed to adjust the height of this download source paneldefault void
storeHeight(int height)
Stores the height
-
-
-
Method Detail
-
getComponentHeight
int getComponentHeight()
Gets the height of the download source panel.- Returns:
- The height the component should have.
-
isHeightAdjustable
boolean isHeightAdjustable()
Check whether the user should be allowed to adjust the height of this download source panel- Returns:
true
if the height should be adjustable
-
storeHeight
default void storeHeight(int height)
Stores the height- Parameters:
height
- the height in pixel
-
-