java.lang.Object
de.grogra.pf.ui.util.WidgetSupport
de.grogra.pf.ui.util.WidgetBase
de.grogra.pf.ui.awt.AWTWidgetSupport
- All Implemented Interfaces:
ComponentWrapper
,Synchronizer.Callback
,Widget
,Disposable
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected Component
protected static final int
protected static final int
protected AWTSynchronizer
Fields inherited from class de.grogra.pf.ui.util.WidgetBase
conversion, lastValue
Fields inherited from interface de.grogra.pf.ui.Widget
WIDGET_VALUE_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
install()
void
setComponent
(Component component) void
setEnabled
(boolean enabled) protected void
void
updateValue
(Object value) Methods inherited from class de.grogra.pf.ui.util.WidgetBase
checkForChange, setComponentValue, setConversion
Methods inherited from class de.grogra.pf.ui.util.WidgetSupport
addPropertyChangeListener, addVetoableChangeListener, convert, dispose, disposeImpl, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, installListener, removePropertyChangeListener, removeVetoableChangeListener
-
Field Details
-
SET_ENABLED
protected static final int SET_ENABLED- See Also:
-
SET_COMPONENT_VALUE
protected static final int SET_COMPONENT_VALUE- See Also:
-
ACTION_COUNT
protected static final int ACTION_COUNT- See Also:
-
component
-
sync
-
-
Constructor Details
-
AWTWidgetSupport
public AWTWidgetSupport()
-
-
Method Details
-
run
- Specified by:
run
in interfaceSynchronizer.Callback
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceWidget
-
setComponent
-
getComponent
- Specified by:
getComponent
in interfaceComponentWrapper
-
install
protected void install() -
uninstall
protected void uninstall() -
updateValue
- Specified by:
updateValue
in interfaceWidget
-