rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvDefaultNotebookLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/notebook.h>

Inheritance diagram for IlvDefaultNotebookLFHandler:
IlvNotebookLFHandler IlvObjectLFHandler IlvNotebookMLFHandler IlvNotebookWLFHandler IlvNotebookVXLFHandler

Public Member Functions

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...
 
virtual void draw (const IlvNotebook *notebook, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Draws a notebook. More...
 
virtual void drawTab (const IlvNotebook *notebook, IlUShort index, const IlvRect &rect, IlvPort *dst, const IlvRegion *clip) const =0
 Draws a notebook tab. More...
 
virtual void drawTabContents (const IlvNotebook *notebook, const IlvNotebookPage *page, const IlvRect &rect, IlvPort *dst, const IlvRegion *clip) const =0
 Draws the contents of a notebook tab. More...
 
virtual IlUShort getLastVisibleTab (const IlvNotebook *notebook, IlBoolean &arrows, IlBoolean &cuttab, IlBoolean &decr, IlBoolean &incr) const =0
 Computes the last visible tab of a notebook. More...
 
virtual void getTabRect (const IlvNotebook *notebook, IlUShort index, const IlvRect &bbox, IlvRect &rect) const =0
 Computes the bounding box of notebook tab. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of the notebook gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

virtual void IlvDefaultNotebookLFHandler::getTabSize ( const IlvNotebookPage page,
IlvDim width,
IlvDim height 
) const
virtual

Computes the size of a notebook tab.

Parameters
pageThe notebook page.
widthThe returned width of the tab.
heightThe returned height of the tab.

Implements IlvNotebookLFHandler.

Reimplemented in IlvNotebookMLFHandler.

virtual IlBoolean IlvDefaultNotebookLFHandler::handleEvent ( IlvNotebook notebook,
IlvEvent event 
) const
virtual

Handles the events of a notebook.

Parameters
notebookThe notebook.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvNotebookLFHandler.


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