edu.washington.cs.supple.wlib.java2
Class PopupActionWidget
java.lang.Object
edu.washington.cs.supple.render.AbstractWidget
edu.washington.cs.supple.render.SimpleWidget
edu.washington.cs.supple.render.AbstractPopupWidget
edu.washington.cs.supple.wlib.java2.PopupSwingWidget
edu.washington.cs.supple.wlib.java2.PopupActionWidget
- All Implemented Interfaces:
- java.lang.Cloneable, ContainerWidget, java.util.EventListener, PopupWidget, java.beans.PropertyChangeListener, SwingWidget, UnwrappedWidget, Widget
- public class PopupActionWidget
- extends PopupSwingWidget
- Author:
- kgajos
|
Field Summary |
protected javax.swing.JPanel |
panel
|
|
Method Summary |
protected javax.swing.JButton |
makeButton()
|
static boolean |
rendersObject(UiObject object)
A static method for testing the applicability of the widget given a type
of the UI component to be rendered |
void |
setEnabled(boolean enabled)
This method is exposed only so that wrappers can access it; others should
stay away |
protected void |
setPopupFrame()
|
java.lang.String |
toString()
|
| Methods inherited from class edu.washington.cs.supple.render.AbstractPopupWidget |
childIterator, disengage, engage, ensureBestWidget, getChildWidget, getCost, getEffortEstimate, hasChildren, makeVisible, satisfiesConstraints, setChildren |
| Methods inherited from class edu.washington.cs.supple.render.AbstractWidget |
anotherPropertyChanged, clone, clone, dismissCurrentView, displayDynamic, equals, executeAction, generateWidgetDescriptor, getBag, getConcreteWidget, getParent, getPath, getSize, getSizeCache, getTextLabel, getType, getUiObject, getWidgetDescriptor, isEngaged, isEquivalent, legalValuesChanged, likelyValuesChanged, propertyChange, reportActionExecutionEvent, reportValueChangedEvent, setBag, setCost, setParent, setSizeCache, setValue, setWrapper, unwrapWidget, valueChanged |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.washington.cs.supple.render.Widget |
childIterator, clone, clone, disengage, engage, getBag, getConcreteWidget, getCost, getEffortEstimate, getPath, getSize, getSizeCache, getTextLabel, getType, getUiObject, getWidgetDescriptor, hasChildren, isEngaged, isEquivalent, setBag, setCost, setParent, setSizeCache, setWrapper, unwrapWidget |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
panel
protected javax.swing.JPanel panel
PopupActionWidget
public PopupActionWidget(UiObject object)
- Parameters:
object -
rendersObject
public static boolean rendersObject(UiObject object)
- A static method for testing the applicability of the widget given a type
of the UI component to be rendered
- Returns:
- true for all action types with parameters
makeButton
protected javax.swing.JButton makeButton()
- Specified by:
makeButton in class PopupSwingWidget
setPopupFrame
protected void setPopupFrame()
- Specified by:
setPopupFrame in class PopupSwingWidget
setEnabled
public void setEnabled(boolean enabled)
- Description copied from interface:
Widget
- This method is exposed only so that wrappers can access it; others should
stay away
- Specified by:
setEnabled in interface Widget- Overrides:
setEnabled in class AbstractWidget
- Parameters:
enabled - indicates if the underlying object is active
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractWidget