jwx!
v0.0.2


wx
Class Notebook

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.Control
                  extended bywx.BookCtrlBase
                      extended bywx.Notebook

public class Notebook
extends BookCtrlBase


Field Summary
static int NB_BOTTOM
           
static int NB_DEFAULT
           
static int NB_FIXEDWIDTH
           
static int NB_FLAT
           
static int NB_HITTEST_NOWHERE
           
static int NB_HITTEST_ONICON
           
static int NB_HITTEST_ONITEM
           
static int NB_HITTEST_ONLABEL
           
static int NB_LEFT
           
static int NB_MULTILINE
           
static int NB_NOPAGETHEME
           
static int NB_RIGHT
           
static int NB_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
Notebook()
           
Notebook(Window parent, int id)
           
Notebook(Window parent, int id, Point pos)
           
Notebook(Window parent, int id, Point pos, Size size)
           
Notebook(Window parent, int id, Point pos, Size size, int style)
           
Notebook(Window parent, int id, Point pos, Size size, int style, java.lang.String name)
           
 
Method Summary
 boolean addPage(Window page, java.lang.String text)
           
 boolean addPage(Window page, java.lang.String text, boolean select)
           
 boolean addPage(Window page, java.lang.String text, boolean select, int imageId)
           
 void advanceSelection()
           
 void advanceSelection(boolean forward)
           
 void assignImageList(ImageList imageList)
           
 void delete()
           
 boolean deleteAllPages()
           
 boolean deletePage(long page)
           
 Window getCurrentPage()
           
 ImageList getImageList()
           
 Window getPage(long page)
           
 int getPageCount()
           
 int getPageImage(long nPage)
           
 java.lang.String getPageText(long nPage)
           
 int getRowCount()
           
 int getSelection()
           
 Colour getThemeBackgroundColour()
           
 boolean insertPage(long index, Window page, java.lang.String text)
           
 boolean insertPage(long index, Window page, java.lang.String text, boolean select)
           
 boolean insertPage(long index, Window page, java.lang.String text, boolean select, int imageId)
           
 boolean removePage(long page)
           
 void setImageList(ImageList imageList)
           
 void setPadding(Size padding)
           
 boolean setPageImage(long page, int image)
           
 void setPageSize(Size size)
           
 boolean setPageText(long page, java.lang.String text)
           
 int setSelection(long page)
           
 
Methods inherited from class wx.BookCtrlBase
calcSizeFromPage, deletePage, getPage, getPageImage, getPageText, insertPage, insertPage, insertPage, removePage, setPageImage, setPageText, setSelection
 
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

NB_FIXEDWIDTH

public static final int NB_FIXEDWIDTH
See Also:
Constant Field Values

NB_TOP

public static final int NB_TOP
See Also:
Constant Field Values

NB_LEFT

public static final int NB_LEFT
See Also:
Constant Field Values

NB_RIGHT

public static final int NB_RIGHT
See Also:
Constant Field Values

NB_BOTTOM

public static final int NB_BOTTOM
See Also:
Constant Field Values

NB_MULTILINE

public static final int NB_MULTILINE
See Also:
Constant Field Values

NB_NOPAGETHEME

public static final int NB_NOPAGETHEME
See Also:
Constant Field Values

NB_FLAT

public static final int NB_FLAT
See Also:
Constant Field Values

NB_DEFAULT

public static final int NB_DEFAULT
See Also:
Constant Field Values

NB_HITTEST_NOWHERE

public static final int NB_HITTEST_NOWHERE
See Also:
Constant Field Values

NB_HITTEST_ONICON

public static final int NB_HITTEST_ONICON
See Also:
Constant Field Values

NB_HITTEST_ONLABEL

public static final int NB_HITTEST_ONLABEL
See Also:
Constant Field Values

NB_HITTEST_ONITEM

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

Notebook

public Notebook()

Notebook

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

Notebook

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

Notebook

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

Notebook

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

Notebook

public Notebook(Window parent,
                int id)
Method Detail

delete

public void delete()
Overrides:
delete in class BookCtrlBase

addPage

public boolean addPage(Window page,
                       java.lang.String text,
                       boolean select,
                       int imageId)
Overrides:
addPage in class BookCtrlBase

addPage

public boolean addPage(Window page,
                       java.lang.String text,
                       boolean select)
Overrides:
addPage in class BookCtrlBase

addPage

public boolean addPage(Window page,
                       java.lang.String text)
Overrides:
addPage in class BookCtrlBase

advanceSelection

public void advanceSelection(boolean forward)
Overrides:
advanceSelection in class BookCtrlBase

advanceSelection

public void advanceSelection()
Overrides:
advanceSelection in class BookCtrlBase

assignImageList

public void assignImageList(ImageList imageList)
Overrides:
assignImageList in class BookCtrlBase

deleteAllPages

public boolean deleteAllPages()
Overrides:
deleteAllPages in class BookCtrlBase

deletePage

public boolean deletePage(long page)

getCurrentPage

public Window getCurrentPage()
Overrides:
getCurrentPage in class BookCtrlBase

getImageList

public ImageList getImageList()
Overrides:
getImageList in class BookCtrlBase

getPage

public Window getPage(long page)

getPageCount

public int getPageCount()
Overrides:
getPageCount in class BookCtrlBase

getPageImage

public int getPageImage(long nPage)

getPageText

public java.lang.String getPageText(long nPage)

getRowCount

public int getRowCount()

getSelection

public int getSelection()
Overrides:
getSelection in class BookCtrlBase

getThemeBackgroundColour

public Colour getThemeBackgroundColour()

insertPage

public boolean insertPage(long index,
                          Window page,
                          java.lang.String text,
                          boolean select,
                          int imageId)

insertPage

public boolean insertPage(long index,
                          Window page,
                          java.lang.String text,
                          boolean select)

insertPage

public boolean insertPage(long index,
                          Window page,
                          java.lang.String text)

removePage

public boolean removePage(long page)

setImageList

public void setImageList(ImageList imageList)
Overrides:
setImageList in class BookCtrlBase

setPadding

public void setPadding(Size padding)

setPageSize

public void setPageSize(Size size)
Overrides:
setPageSize in class BookCtrlBase

setPageImage

public boolean setPageImage(long page,
                            int image)

setPageText

public boolean setPageText(long page,
                           java.lang.String text)

setSelection

public int setSelection(long page)

jwx!
v0.0.2


© 2006 Amit G Mendapara.