public class ComponentMaximumSizeProperty extends AbstractComponentProperty<Component,Dimension>
Component.
It is possible to control the maximum size of the component by setting the value of this property or by calling the
Component.setMaximumSize(Dimension) method of that component.
Note that changing the width or height attribute of the Dimension object directly will have no effect on this
property. It is therefore not advised to do so.
Finally, note that null values are supported by this property.component| Constructor and Description |
|---|
ComponentMaximumSizeProperty(Component component) |
| Modifier and Type | Method and Description |
|---|---|
protected Dimension |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(Dimension value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic ComponentMaximumSizeProperty(Component component)
protected Dimension getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<Component,Dimension>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Dimension value)
setPropertyValueToComponent in class AbstractComponentProperty<Component,Dimension>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.