rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvNotebookVXLFHandler Class Reference

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

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

Inheritance diagram for IlvNotebookVXLFHandler:
IlvNotebookWLFHandler IlvDefaultNotebookLFHandler IlvNotebookLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvNotebookVXLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void draw (const IlvNotebook *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw a notebook.
void drawTab (const IlvNotebook *, IlUShort, const IlvRect &, IlvPort *, const IlvRegion *) const
 Is called to draw a notebook tab.
void drawTabContents (const IlvNotebook *, const IlvNotebookPage *, const IlvRect &, IlvPort *, const IlvRegion *) const
 Is called to draw the contents of a notebook tab.
IlUShort getLastVisibleTab (const IlvNotebook *nbg, IlBoolean &arrows, IlBoolean &cuttab, IlBoolean &decrSensitive, IlBoolean &incrSensitive) const
 Is called to compute the last visible tab of a notebook.
virtual void getTabRect (const IlvNotebook *, IlUShort, const IlvRect &, IlvRect &) const
 Is called to compute the bounding box of notebook tab.

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 ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvNotebookVXLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

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

Is called to draw a notebook.

Parameters:
notebook The notebook.
dst The destination port.
t The transformer.
clip The clipping region.

Reimplemented from IlvNotebookWLFHandler.

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

Is called to draw a notebook tab.

Parameters:
notebook The notebook.
index The index of the tab to draw.
rect The rectangle where to draw the tab.
dst The destination port.
clip The clipping region.

Reimplemented from IlvNotebookWLFHandler.

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

Is called to draw the contents of a notebook tab.

Parameters:
notebook The notebook.
page The notebook page.
rect The rectangle where to draw the tab contents.
dst The destination port.
clip The clipping region.

Reimplemented from IlvNotebookWLFHandler.

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

Is called to compute the last visible tab of a notebook.

Parameters:
notebook The notebook.
arrows A Boolean value indicating whether arrows should be drawn.
cuttab A Boolean value indicating whether the last tab is partially visible.
decr A Boolean value indicating whether the decrement arrow is sensitive.
incr A Boolean value indicating whether the increment arrow is sensitive.
Returns:
The index of the last visible tab of the notebook.

Reimplemented from IlvNotebookWLFHandler.

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

Is called to compute the bounding box of notebook tab.

Parameters:
notebook The notebook.
index The index of the tab.
bbox The bounding box of all the tabs.
rect The returned bounding box of the tab whose index is index.

Reimplemented from IlvNotebookWLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, 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.