wx
Class ComboBox
java.lang.Object
wx.Object
wx.EvtHandler
wx.Window
wx.Control
wx.ComboBox
- public class ComboBox
- extends Control
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 |
ComboBox()
|
ComboBox(Window parent,
int id)
|
ComboBox(Window parent,
int id,
java.lang.String value)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style,
Validator validator)
|
ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style,
Validator validator,
java.lang.String name)
|
Method Summary |
int |
append(java.lang.String item)
|
void |
append(java.lang.String[] strings)
|
int |
append(java.lang.String item,
java.lang.Object clientData)
|
boolean |
canCopy()
|
boolean |
canCut()
|
boolean |
canPaste()
|
boolean |
canRedo()
|
boolean |
canUndo()
|
void |
clear()
|
void |
copy()
|
void |
cut()
|
void |
delete()
|
void |
delete(int n)
|
int |
findString(java.lang.String string)
|
java.lang.Object |
getClientObject(int n)
|
int |
getCount()
|
int |
getInsertionPoint()
|
int |
getLastPosition()
|
int |
getSelection()
|
java.lang.String |
getString(int n)
|
java.lang.String |
getStringSelection()
|
java.lang.String |
getValue()
|
int |
insert(java.lang.String item,
int pos)
|
int |
insert(java.lang.String item,
int pos,
java.lang.Object clientData)
|
boolean |
isEmpty()
|
void |
paste()
|
void |
redo()
|
void |
remove(int from,
int to)
|
void |
replace(int from,
int to,
java.lang.String text)
|
void |
select(int n)
|
void |
setClientObject(int n,
java.lang.Object data)
|
void |
setInsertionPoint(int pos)
|
void |
setInsertionPointEnd()
|
void |
setSelection(int n)
|
void |
setSelection(int from,
int to)
|
void |
setString(int n,
java.lang.String string)
|
boolean |
setStringSelection(java.lang.String string)
|
void |
setValue(java.lang.String text)
|
void |
undo()
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CB_SIMPLE
public static final int CB_SIMPLE
- See Also:
- Constant Field Values
CB_SORT
public static final int CB_SORT
- See Also:
- Constant Field Values
CB_READONLY
public static final int CB_READONLY
- See Also:
- Constant Field Values
CB_DROPDOWN
public static final int CB_DROPDOWN
- See Also:
- Constant Field Values
ComboBox
public ComboBox()
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value)
ComboBox
public ComboBox(Window parent,
int id)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style,
Validator validator,
java.lang.String name)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style,
Validator validator)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices,
int style)
ComboBox
public ComboBox(Window parent,
int id,
java.lang.String value,
Point pos,
Size size,
java.lang.String[] choices)
delete
public void delete()
- Overrides:
delete
in class Control
canCopy
public boolean canCopy()
canCut
public boolean canCut()
canPaste
public boolean canPaste()
canRedo
public boolean canRedo()
canUndo
public boolean canUndo()
copy
public void copy()
cut
public void cut()
getInsertionPoint
public int getInsertionPoint()
getLastPosition
public int getLastPosition()
getValue
public java.lang.String getValue()
paste
public void paste()
redo
public void redo()
replace
public void replace(int from,
int to,
java.lang.String text)
remove
public void remove(int from,
int to)
setInsertionPoint
public void setInsertionPoint(int pos)
setInsertionPointEnd
public void setInsertionPointEnd()
setSelection
public void setSelection(int from,
int to)
setValue
public void setValue(java.lang.String text)
undo
public void undo()
append
public int append(java.lang.String item)
append
public int append(java.lang.String item,
java.lang.Object clientData)
append
public void append(java.lang.String[] strings)
clear
public void clear()
delete
public void delete(int n)
findString
public int findString(java.lang.String string)
getClientObject
public java.lang.Object getClientObject(int n)
getCount
public int getCount()
getSelection
public int getSelection()
getString
public java.lang.String getString(int n)
getStringSelection
public java.lang.String getStringSelection()
insert
public int insert(java.lang.String item,
int pos)
insert
public int insert(java.lang.String item,
int pos,
java.lang.Object clientData)
isEmpty
public boolean isEmpty()
select
public void select(int n)
setClientObject
public void setClientObject(int n,
java.lang.Object data)
setSelection
public void setSelection(int n)
setString
public void setString(int n,
java.lang.String string)
setStringSelection
public boolean setStringSelection(java.lang.String string)
© 2006 Amit G Mendapara.