Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvNotebookVXLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/vx/notebook.h>

Inheritance diagram for IlvNotebookVXLFHandler:
IlvNotebookWLFHandler IlvDefaultNotebookLFHandler IlvNotebookLFHandler IlvObjectLFHandler

Public Member Functions

 IlvNotebookVXLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void draw (const IlvNotebook *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Draws a notebook. More...
 
void drawTab (const IlvNotebook *, IlUShort, const IlvRect &, IlvPort *, const IlvRegion *) const
 Draws a notebook tab. More...
 
void drawTabContents (const IlvNotebook *, const IlvNotebookPage *, const IlvRect &, IlvPort *, const IlvRegion *) const
 Draws the contents of a notebook tab. More...
 
IlUShort getLastVisibleTab (const IlvNotebook *nbg, IlBoolean &arrows, IlBoolean &cuttab, IlBoolean &decrSensitive, IlBoolean &incrSensitive) const
 Computes the last visible tab of a notebook. More...
 
virtual void getTabRect (const IlvNotebook *, IlUShort, const IlvRect &, IlvRect &) const
 Computes the bounding box of notebook tab. More...
 
- Public Member Functions inherited from IlvNotebookWLFHandler
 IlvNotebookWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
void drawTab (const IlvNotebook *, IlUShort, const IlvRect &, IlvPort *, const IlvRegion *) const
 Draws a notebook tab. More...
 
void drawTabContents (const IlvNotebook *, const IlvNotebookPage *, const IlvRect &, IlvPort *, const IlvRegion *) const
 Draws the contents of a notebook tab. More...
 
IlUShort getLastVisibleTab (const IlvNotebook *nbg, IlBoolean &arrows, IlBoolean &cuttab, IlBoolean &decrSensitive, IlBoolean &incrSensitive) const
 Computes the last visible tab of a notebook. More...
 
- Public Member Functions inherited from IlvDefaultNotebookLFHandler
virtual void getTabSize (const IlvNotebookPage *, IlvDim &, IlvDim &) const
 Computes the size of a notebook tab. More...
 
virtual IlBoolean handleEvent (IlvNotebook *, IlvEvent &) const
 Handles the events of a notebook. More...
 
- Public Member Functions inherited from IlvNotebookLFHandler
 IlvNotebookLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvavxlook

The class for the ViewsX object look-and-feel handler of the notebook.

Constructor & Destructor Documentation

§ IlvNotebookVXLFHandler()

IlvNotebookVXLFHandler::IlvNotebookVXLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvNotebookVXLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

§ draw()

virtual void IlvNotebookVXLFHandler::draw ( const IlvNotebook notebook,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Draws a notebook.

Parameters
notebookThe notebook.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvNotebookWLFHandler.

§ drawTab()

void IlvNotebookVXLFHandler::drawTab ( const IlvNotebook notebook,
IlUShort  index,
const IlvRect rect,
IlvPort dst,
const IlvRegion clip 
) const
virtual

Draws a notebook tab.

Parameters
notebookThe notebook.
indexThe index of the tab to draw.
rectThe rectangle where to draw the tab.
dstThe destination port.
clipThe clipping region.

Implements IlvNotebookLFHandler.

§ drawTabContents()

void IlvNotebookVXLFHandler::drawTabContents ( const IlvNotebook notebook,
const IlvNotebookPage page,
const IlvRect rect,
IlvPort dst,
const IlvRegion clip 
) const
virtual

Draws the contents of a notebook tab.

Parameters
notebookThe notebook.
pageThe notebook page.
rectThe rectangle where to draw the tab contents.
dstThe destination port.
clipThe clipping region.

Implements IlvNotebookLFHandler.

§ getLastVisibleTab()

IlUShort IlvNotebookVXLFHandler::getLastVisibleTab ( const IlvNotebook notebook,
IlBoolean arrows,
IlBoolean cuttab,
IlBoolean decr,
IlBoolean incr 
) const
virtual

Computes the last visible tab of a notebook.

Parameters
notebookThe notebook.
arrowsA Boolean value indicating whether arrows should be drawn.
cuttabA Boolean value indicating whether the last tab is partially visible.
decrA Boolean value indicating whether the decrement arrow is sensitive.
incrA Boolean value indicating whether the increment arrow is sensitive.
Returns
The index of the last visible tab of the notebook.

Implements IlvNotebookLFHandler.

§ getTabRect()

virtual void IlvNotebookVXLFHandler::getTabRect ( const IlvNotebook notebook,
IlUShort  index,
const IlvRect bbox,
IlvRect rect 
) const
virtual

Computes the bounding box of notebook tab.

Parameters
notebookThe notebook.
indexThe index of the tab.
bboxThe bounding box of all the tabs.
rectThe returned bounding box of the tab whose index is index.

Reimplemented from IlvNotebookWLFHandler.


© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.