java.lang.Object
de.grogra.pf.ui.util.WidgetSupport
- All Implemented Interfaces:
ComponentWrapper
,Widget
,Disposable
- Direct Known Subclasses:
WidgetAdapter
,WidgetBase
-
Field Summary
Fields inherited from interface de.grogra.pf.ui.Widget
WIDGET_VALUE_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static PropertyChangeEvent
convert
(WidgetConversion conversion, PropertyChangeEvent e) final void
dispose()
protected void
protected void
protected void
firePropertyChange
(Object oldValue, Object newValue) protected void
protected void
fireVetoableChange
(Object oldValue, Object newValue) protected void
installListener
(boolean hasListeners) void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.pf.ui.ComponentWrapper
getComponent
Methods inherited from interface de.grogra.pf.ui.Widget
setEnabled, updateValue
-
Constructor Details
-
WidgetSupport
public WidgetSupport()
-
-
Method Details
-
convert
public static PropertyChangeEvent convert(WidgetConversion conversion, PropertyChangeEvent e) throws PropertyVetoException - Throws:
PropertyVetoException
-
installListener
protected void installListener(boolean hasListeners) -
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceWidget
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceWidget
-
firePropertyChange
-
firePropertyChange
-
addVetoableChangeListener
- Specified by:
addVetoableChangeListener
in interfaceWidget
-
removeVetoableChangeListener
- Specified by:
removeVetoableChangeListener
in interfaceWidget
-
fireVetoableChange
- Throws:
PropertyVetoException
-
fireVetoableChange
- Throws:
PropertyVetoException
-
dispose
public final void dispose()- Specified by:
dispose
in interfaceDisposable
-
disposeImpl
protected void disposeImpl()
-