ist.palcom.simulated.handheld.browser.ui
Class UIComponent
java.lang.Object
ist.palcom.simulated.handheld.browser.ui.UIComponent
- Direct Known Subclasses:
- InParamView, OutParamView, UIContainer
public abstract class UIComponent
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected UIContainer parent
UIComponent
public UIComponent(CommandEventListener cel)
- Parameters:
cel - The listener that will receive invoked commands.
update
public abstract void update()
- Update the UIComponent. Redraw all rendered components with the right
text etc.
getSwingComponent
public abstract javax.swing.JComponent getSwingComponent()
- Returns the Swing component for this UIComponent.
getCommandEventListener
public CommandEventListener getCommandEventListener()
- Returns:
- The listener that will receive invoked commands.
createComponentForItem
protected UIComponent createComponentForItem(ControlItem item)
- Factory method for creating UIComponents for ControlItems. UIs (which are
the outer-most components) are not created by this method, but by a
direct call to the constructor.
changeFontSizeOfComponent
public static void changeFontSizeOfComponent(javax.swing.JComponent component,
float factor)
- Helper method.