superwaba.ext.xplat.html.ui
Interface ControllableSelectable

All Known Implementing Classes:
ComboBox, ListBox

public interface ControllableSelectable
extends Controllable

Interface to selectable graphic controls.


Method Summary
 void add(java.lang.String text, java.lang.String key, boolean selected)
          Add a new selectable option to this Controllable
 
Methods inherited from interface superwaba.ext.xplat.html.ui.Controllable
getFocus, getName, getPreferredHeight, getPreferredWidth, getValue, onEvent, onPaint, reset, setHtmlContainer, setRect
 

Method Detail

add

public void add(java.lang.String text,
                java.lang.String key,
                boolean selected)
Add a new selectable option to this Controllable
Parameters:
text - String to add
key - Associated key
selected - true if this item is selected by default