jwx!
v0.0.2


wx
Class ScrollBar

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

public class ScrollBar
extends Control


Field Summary
static int SB_HORIZONTAL
           
static int SB_VERTICAL
           
 
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
ScrollBar()
           
ScrollBar(Window parent, int id)
           
ScrollBar(Window parent, int id, Point pos)
           
ScrollBar(Window parent, int id, Point pos, Size size)
           
ScrollBar(Window parent, int id, Point pos, Size size, int style)
           
ScrollBar(Window parent, int id, Point pos, Size size, int style, Validator validator)
           
ScrollBar(Window parent, int id, Point pos, Size size, int style, Validator validator, java.lang.String name)
           
 
Method Summary
 void delete()
           
 int getPageSize()
           
 int getRange()
           
 int getThumbPosition()
           
 int getThumbSize()
           
 void setPageSize(int pageSize)
           
 void setScrollbar(int position, int thumbSize, int range, int pageSize)
           
 void setScrollbar(int position, int thumbSize, int range, int pageSize, boolean refresh)
           
 void setThumbPosition(int viewStart)
           
 
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, 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

SB_HORIZONTAL

public static final int SB_HORIZONTAL
See Also:
Constant Field Values

SB_VERTICAL

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

ScrollBar

public ScrollBar()

ScrollBar

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

ScrollBar

public ScrollBar(Window parent,
                 int id,
                 Point pos,
                 Size size,
                 int style,
                 Validator validator)

ScrollBar

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

ScrollBar

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

ScrollBar

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

ScrollBar

public ScrollBar(Window parent,
                 int id)
Method Detail

delete

public void delete()
Overrides:
delete in class Control

getRange

public int getRange()

getPageSize

public int getPageSize()

getThumbPosition

public int getThumbPosition()

getThumbSize

public int getThumbSize()

setPageSize

public void setPageSize(int pageSize)

setThumbPosition

public void setThumbPosition(int viewStart)

setScrollbar

public void setScrollbar(int position,
                         int thumbSize,
                         int range,
                         int pageSize,
                         boolean refresh)
Overrides:
setScrollbar in class Window

setScrollbar

public void setScrollbar(int position,
                         int thumbSize,
                         int range,
                         int pageSize)
Overrides:
setScrollbar in class Window

jwx!
v0.0.2


© 2006 Amit G Mendapara.