public class WindowResizableProperty extends AbstractComponentProperty<Window,Boolean>
Frame or a Dialog.
It is possible to control the resizable state of the component by setting the value of this property or by calling
the Frame.setResizable(boolean) or Dialog.setResizable(boolean) method of that window.
Please note that a plain Window does not have this bean property. A Frame, Dialog or
sub-class does. However, the type Window is still used by this property for convenience.
Finally note that null values are not supported by this property.
component| Constructor and Description |
|---|
WindowResizableProperty(Window window) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
getPropertyValueFromComponent()
Reads the value from
AbstractComponentProperty.component. |
protected void |
setPropertyValueToComponent(Boolean value)
Sets the value to
AbstractComponentProperty.component. |
dispose, getValue, setValueaddChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic WindowResizableProperty(Window window)
protected Boolean getPropertyValueFromComponent()
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
getPropertyValueFromComponent in class AbstractComponentProperty<Window,Boolean>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Boolean value)
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
setPropertyValueToComponent in class AbstractComponentProperty<Window,Boolean>value - Component value.AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2017. All rights reserved.