jwx!
v0.0.2


wx
Class Button

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.Control
                  extended bywx.Button
Direct Known Subclasses:
BitmapButton

public class Button
extends Control


Field Summary
static int BU_ALIGN_MASK
           
static int BU_AUTODRAW
           
static int BU_BOTTOM
           
static int BU_EXACTFIT
           
static int BU_LEFT
           
static int BU_NOAUTODRAW
           
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
Button()
           
Button(Window parent, int id)
           
Button(Window parent, int id, java.lang.String label)
           
Button(Window parent, int id, java.lang.String label, Point pos)
           
Button(Window parent, int id, java.lang.String label, Point pos, Size size)
           
Button(Window parent, int id, java.lang.String label, Point pos, Size size, int style)
           
Button(Window parent, int id, java.lang.String label, Point pos, Size size, int style, Validator validator)
           
Button(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 Size getDefaultSize()
           
 void setDefault()
           
 void setImageLabel(Bitmap bitmap)
           
 void setImageMargins(int x, int y)
           
 void setLabel(java.lang.String label)
           
 boolean shouldInheritColours()
           
 
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, 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, 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

BU_NOAUTODRAW

public static final int BU_NOAUTODRAW
See Also:
Constant Field Values

BU_AUTODRAW

public static final int BU_AUTODRAW
See Also:
Constant Field Values

BU_EXACTFIT

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

Button

public Button()

Button

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

Button

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

Button

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

Button

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

Button

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

Button

public Button(Window parent,
              int id,
              java.lang.String label)

Button

public Button(Window parent,
              int id)
Method Detail

delete

public void delete()
Overrides:
delete in class Control

setDefault

public void setDefault()

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

setImageLabel

public void setImageLabel(Bitmap bitmap)

setImageMargins

public void setImageMargins(int x,
                            int y)

shouldInheritColours

public boolean shouldInheritColours()
Overrides:
shouldInheritColours in class Window

getDefaultSize

public static Size getDefaultSize()

jwx!
v0.0.2


© 2006 Amit G Mendapara.