public class ComponentMinimumSizeProperty extends AbstractComponentProperty<Component,Dimension>
Component.
It is possible to control the minimum size of the component by setting the value of this property or by calling the
Component.setMinimumSize(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 |
|---|
ComponentMinimumSizeProperty(Component component) |
| Modifier and Type | Method and Description |
|---|---|
protected Dimension |
getPropertyValueFromComponent()
Reads the value from
AbstractComponentProperty.component. |
protected void |
setPropertyValueToComponent(Dimension value)
Sets the value to
AbstractComponentProperty.component. |
dispose, getValue, setValueaddChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic ComponentMinimumSizeProperty(Component component)
protected Dimension getPropertyValueFromComponent()
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
getPropertyValueFromComponent in class AbstractComponentProperty<Component,Dimension>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Dimension value)
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
setPropertyValueToComponent in class AbstractComponentProperty<Component,Dimension>value - Component value.AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2017. All rights reserved.