public static class DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy extends java.lang.Object implements DownloadSourceSizingPolicy
DownloadSourceSizingPolicy.AdjustableDownloadSizePolicy, DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy
Modifier and Type | Field and Description |
---|---|
private java.awt.Component |
base |
Constructor and Description |
---|
FixedDownloadSourceSizePolicy(java.awt.Component base)
Create a new fixed download source policy
|
Modifier and Type | Method and 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 panel
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
storeHeight
private final java.awt.Component base
public FixedDownloadSourceSizePolicy(java.awt.Component base)
base
- The component of which the size should be taken.public int getComponentHeight()
DownloadSourceSizingPolicy
getComponentHeight
in interface DownloadSourceSizingPolicy
public boolean isHeightAdjustable()
DownloadSourceSizingPolicy
isHeightAdjustable
in interface DownloadSourceSizingPolicy
true
if the height should be adjustable