jwx!
v0.0.2


wx
Class ListBox

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.Control
                  extended bywx.ControlWithItems
                      extended bywx.ListBox
Direct Known Subclasses:
CheckListBox

public class ListBox
extends ControlWithItems


Field Summary
static int LB_ALWAYS_SB
           
static int LB_EXTENDED
           
static int LB_HSCROLL
           
static int LB_INT_HEIGHT
           
static int LB_MULTIPLE
           
static int LB_NEEDED_SB
           
static int LB_OWNERDRAW
           
static int LB_SINGLE
           
static int LB_SORT
           
 
Fields inherited from class wx.Window
ALWAYS_SHOW_SB, BACKINGSTORE, CAPTION, CLIP_CHILDREN, CLIP_SIBLINGS, DIALOG_EX_CONTEXTHELP, DIALOG_EX_METAL, FRAME_DRAWER, FRAME_EX_CONTEXTHELP, FRAME_EX_METAL, FRAME_NO_WINDOW_MENU, FULL_REPAINT_ON_RESIZE, HSCROLL, MB_DOCKABLE, NO_FULL_REPAINT_ON_RESIZE, POPUP_WINDOW, RETAINED, SIZE_ALLOW_MINUS_ONE, SIZE_AUTO, SIZE_AUTO_HEIGHT, SIZE_AUTO_WIDTH, SIZE_FORCE, SIZE_NO_ADJUSTMENTS, SIZE_USE_EXISTING, TAB_TRAVERSAL, TRANSPARENT_WINDOW, VSCROLL, WANTS_CHARS, WS_EX_BLOCK_EVENTS, WS_EX_PROCESS_IDLE, WS_EX_PROCESS_UI_UPDATES, WS_EX_THEMED_BACKGROUND, WS_EX_TRANSIENT, WS_EX_VALIDATE_RECURSIVELY
 
Constructor Summary
ListBox()
           
ListBox(Window parent, int id)
           
ListBox(Window parent, int id, Point pos)
           
ListBox(Window parent, int id, Point pos, Size size)
           
ListBox(Window parent, int id, Point pos, Size size, java.lang.String[] choices)
           
ListBox(Window parent, int id, Point pos, Size size, java.lang.String[] choices, int style)
           
ListBox(Window parent, int id, Point pos, Size size, java.lang.String[] choices, int style, Validator validator)
           
ListBox(Window parent, int id, Point pos, Size size, java.lang.String[] choices, int style, Validator validator, java.lang.String name)
           
 
Method Summary
 void delete()
           
 void deselect(int n)
           
 int[] getSelections()
           
 void insertItems(java.lang.String[] items, int pos)
           
 boolean isSelected(int n)
           
 void setFirstItem(int n)
           
 void setFirstItem(java.lang.String string)
           
 
Methods inherited from class wx.ControlWithItems
append, append, append, clear, delete, findString, getClientObject, getCount, getSelection, getString, getStringSelection, insert, insert, isEmpty, select, setClientObject, setSelection, setString, setStringSelection
 
Methods inherited from class wx.Control
command, getLabel, setLabel
 
Methods inherited from class wx.Window
acceptsFocus, acceptsFocusFromKeyboard, addChild, cacheBestSize, captureMouse, center, center, centerOnParent, centerOnParent, centerOnScreen, centerOnScreen, centre, centre, centreOnParent, centreOnParent, centreOnScreen, centreOnScreen, clearBackground, clientToScreen, close, close, convertDialogToPixels, convertDialogToPixels, convertPixelsToDialog, convertPixelsToDialog, destroy, destroyChildren, disable, enable, enable, findFocus, findWindow, findWindow, findWindowAtPointer, findWindowById, findWindowById, findWindowByLabel, findWindowByLabel, findWindowByName, findWindowByName, fit, fitInside, freeze, getAcceleratorTable, getActiveWindow, getAdjustedBestSize, getAncestorWithCustomPalette, getBackgroundColour, getBackgroundStyle, getBestFittingSize, getBestSize, getBestVirtualSize, getBorder, getBorder, getCapture, getCaret, getCharHeight, getCharWidth, getChildren, getClassDefaultAttributes, getClassDefaultAttributes, getClientAreaOrigin, getClientRect, getClientSize, getContainingSizer, getCursor, getDefaultAttributes, getDefaultItem, getDropTarget, getEventHandler, getExtraStyle, getFont, getForegroundColour, getGrandParent, getHelpText, getId, getMaxHeight, getMaxSize, getMaxWidth, getMinHeight, getMinSize, getMinWidth, getMousePosition, getName, getPalette, getParent, getPosition, getRect, getScrollPos, getScrollRange, getScrollThumb, getSize, getSizer, getTextExtent, getTextExtent, getTextExtent, getTextExtent, getThemeEnabled, getTitle, getToolTip, getTopLevelParent, getUpdateClientRect, getUpdateRegion, getValidator, getVirtualSize, getWindowStyle, getWindowStyleFlag, getWindowVariant, hasCapture, hasCustomPalette, hasFlag, hasScrollbar, hasTransparentBackground, hide, hitTest, hitTest, inheritAttributes, inheritsBackgroundColour, initDialog, invalidateBestSize, isBeingDeleted, isEnabled, isExposed, isExposed, isExposed, isExposed, isRetained, isShown, isTopLevel, lineDown, lineUp, lower, makeModal, makeModal, move, move, move, move, moveAfterInTabOrder, moveBeforeInTabOrder, navigate, navigate, newControlId, nextControlId, pageDown, pageUp, popEventHandler, popEventHandler, popupMenu, popupMenu, popupMenu, prepareDC, prevControlId, pushEventHandler, raise, refresh, refresh, refresh, refreshRect, refreshRect, releaseMouse, removeChild, removeEventHandler, reparent, screenToClient, scrollLines, scrollPages, scrollWindow, scrollWindow, setAcceleratorTable, setBackgroundColour, setBackgroundStyle, setBestFittingSize, setBestFittingSize, setCaret, setClientSize, setClientSize, setClientSize, setContainingSizer, setCursor, setDefaultItem, setDropTarget, setEventHandler, setExtraStyle, setFocus, setFocusFromKbd, setFont, setForegroundColour, setHelpText, setHelpTextForId, setId, setMaxSize, setMinSize, setName, setOwnBackgroundColour, setOwnFont, setOwnForegroundColour, setPalette, setParent, setPosition, setScrollbar, setScrollbar, setScrollPos, setScrollPos, setSize, setSize, setSize, setSize, setSize, setSize, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizer, setSizer, setSizerAndFit, setSizerAndFit, setThemeEnabled, setTitle, setTmpDefaultItem, setToolTip, setToolTip, setValidator, setVirtualSize, setVirtualSize, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setWindowStyle, setWindowStyleFlag, setWindowVariant, shouldInheritColours, show, show, swigReleaseOwnership, swigTakeOwnership, thaw, transferDataFromWindow, transferDataToWindow, update, updateWindowUI, updateWindowUI, useBgCol, validate, warpPointer
 
Methods inherited from class wx.EvtHandler
addPendingEvent, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getEvtHandlerEnabled, getNextHandler, getPreviousHandler, postEvent, processEvent, processPendingEvents, setEvtHandlerEnabled, setNextHandler, setPreviousHandler
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LB_SORT

public static final int LB_SORT
See Also:
Constant Field Values

LB_SINGLE

public static final int LB_SINGLE
See Also:
Constant Field Values

LB_MULTIPLE

public static final int LB_MULTIPLE
See Also:
Constant Field Values

LB_EXTENDED

public static final int LB_EXTENDED
See Also:
Constant Field Values

LB_OWNERDRAW

public static final int LB_OWNERDRAW
See Also:
Constant Field Values

LB_NEEDED_SB

public static final int LB_NEEDED_SB
See Also:
Constant Field Values

LB_ALWAYS_SB

public static final int LB_ALWAYS_SB
See Also:
Constant Field Values

LB_HSCROLL

public static final int LB_HSCROLL
See Also:
Constant Field Values

LB_INT_HEIGHT

public static final int LB_INT_HEIGHT
See Also:
Constant Field Values
Constructor Detail

ListBox

public ListBox()

ListBox

public ListBox(Window parent,
               int id,
               Point pos,
               Size size)

ListBox

public ListBox(Window parent,
               int id,
               Point pos)

ListBox

public ListBox(Window parent,
               int id)

ListBox

public ListBox(Window parent,
               int id,
               Point pos,
               Size size,
               java.lang.String[] choices,
               int style,
               Validator validator,
               java.lang.String name)

ListBox

public ListBox(Window parent,
               int id,
               Point pos,
               Size size,
               java.lang.String[] choices,
               int style,
               Validator validator)

ListBox

public ListBox(Window parent,
               int id,
               Point pos,
               Size size,
               java.lang.String[] choices,
               int style)

ListBox

public ListBox(Window parent,
               int id,
               Point pos,
               Size size,
               java.lang.String[] choices)
Method Detail

delete

public void delete()
Overrides:
delete in class ControlWithItems

deselect

public void deselect(int n)

getSelections

public int[] getSelections()

insertItems

public void insertItems(java.lang.String[] items,
                        int pos)

isSelected

public boolean isSelected(int n)

setFirstItem

public void setFirstItem(int n)

setFirstItem

public void setFirstItem(java.lang.String string)

jwx!
v0.0.2


© 2006 Amit G Mendapara.