jwx!
v0.0.2


wx
Class ToggleButton

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.Control
                  extended bywx.ToggleButton

public class ToggleButton
extends Control


Field Summary
static int BU_ALIGN_MASK
           
static int BU_BOTTOM
           
static int BU_LEFT
           
static int BU_RIGHT
           
static int BU_TOP
           
 
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
ToggleButton()
           
ToggleButton(Window parent, int id, java.lang.String label)
           
ToggleButton(Window parent, int id, java.lang.String label, Point pos)
           
ToggleButton(Window parent, int id, java.lang.String label, Point pos, Size size)
           
ToggleButton(Window parent, int id, java.lang.String label, Point pos, Size size, int style)
           
ToggleButton(Window parent, int id, java.lang.String label, Point pos, Size size, int style, Validator validator)
           
ToggleButton(Window parent, int id, java.lang.String label, Point pos, Size size, int style, Validator validator, java.lang.String name)
           
 
Method Summary
 void delete()
           
 boolean enable()
           
 boolean enable(boolean enable)
           
static VisualAttributes getClassDefaultAttributes()
           
static VisualAttributes getClassDefaultAttributes(int variant)
           
 boolean getValue()
           
 void setLabel(java.lang.String label)
           
 void setValue(boolean state)
           
 
Methods inherited from class wx.Control
command, getLabel
 
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, 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, 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

BU_LEFT

public static final int BU_LEFT
See Also:
Constant Field Values

BU_TOP

public static final int BU_TOP
See Also:
Constant Field Values

BU_RIGHT

public static final int BU_RIGHT
See Also:
Constant Field Values

BU_BOTTOM

public static final int BU_BOTTOM
See Also:
Constant Field Values

BU_ALIGN_MASK

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

ToggleButton

public ToggleButton()

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label,
                    Point pos,
                    Size size,
                    int style,
                    Validator validator,
                    java.lang.String name)

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label,
                    Point pos,
                    Size size,
                    int style,
                    Validator validator)

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label,
                    Point pos,
                    Size size,
                    int style)

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label,
                    Point pos,
                    Size size)

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label,
                    Point pos)

ToggleButton

public ToggleButton(Window parent,
                    int id,
                    java.lang.String label)
Method Detail

delete

public void delete()
Overrides:
delete in class Control

setValue

public void setValue(boolean state)

getValue

public boolean getValue()

setLabel

public void setLabel(java.lang.String label)
Overrides:
setLabel in class Control

enable

public boolean enable(boolean enable)
Overrides:
enable in class Window

enable

public boolean enable()
Overrides:
enable in class Window

getClassDefaultAttributes

public static VisualAttributes getClassDefaultAttributes(int variant)

getClassDefaultAttributes

public static VisualAttributes getClassDefaultAttributes()

jwx!
v0.0.2


© 2006 Amit G Mendapara.