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 ClassesModifier and TypeInterfaceDescriptionstatic classThe height of this component is given by a preference entry.static classThe download source has a fixed size provided by the component -
Method Summary
Modifier and TypeMethodDescriptionintGets the height of the download source panel.booleanCheck whether the user should be allowed to adjust the height of this download source paneldefault voidstoreHeight(int height) Stores the height
-
Method Details
-
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
Stores the height- Parameters:
height- the height in pixel
-