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 classDownloadSourceSizingPolicy.AdjustableDownloadSizePolicyThe height of this component is given by a preference entry.static classDownloadSourceSizingPolicy.FixedDownloadSourceSizePolicyThe 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 intgetComponentHeight()Gets the height of the download source panel.booleanisHeightAdjustable()Check whether the user should be allowed to adjust the height of this download source paneldefault voidstoreHeight(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:
trueif the height should be adjustable
-
storeHeight
default void storeHeight(int height)
Stores the height- Parameters:
height- the height in pixel
-
-