Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvStylable Class Referenceabstract

Base interface for classes that can be applied a style. More...

#include <ilviews/base/stylable.h>

Inheritance diagram for IlvStylable:
IlvAbstractView IlvGadget IlvScrollView IlvView IlvDrawingView IlvElasticView IlvViewCOMAdapter IlvContainer IlvContainer

Public Member Functions

 IlvStylable ()
 Constructor.
 
virtual const char * getStylableClassName () const
 Returns the class name of this object. More...
 
virtual IlvDisplaygetStylableDisplay () const =0
 Returns the display for this object. More...
 
virtual const char * getStylableName () const
 Returns the name of this object. More...
 
virtual const IlSymbol *const * getStylableTags (IlUInt &nTags) const
 Returns the tags of this object. More...
 
virtual IlvStylistgetStylist () const =0
 Returns the stylist for this object. More...
 

Detailed Description

Base interface for classes that can be applied a style.

Library: xviews or winviews or mviews (mutually exclusive)
Stylable objects are managed, from the style standpoint, by stylists.

See also
IlvStylist, IlvStyleSheet.

Member Function Documentation

virtual const char* IlvStylable::getStylableClassName ( ) const
virtual

Returns the class name of this object.

Returns
The class name of this object.

Reimplemented in IlvGadget, and IlvAbstractView.

virtual IlvDisplay* IlvStylable::getStylableDisplay ( ) const
pure virtual

Returns the display for this object.

Returns
The display instance of this object.

Implemented in IlvGadget, and IlvAbstractView.

virtual const char* IlvStylable::getStylableName ( ) const
virtual

Returns the name of this object.

Returns
The name of this object or 0 if it has none. This name may be used as the identifier discriminant in style sheets.

Reimplemented in IlvView, and IlvGadget.

virtual const IlSymbol* const* IlvStylable::getStylableTags ( IlUInt nTags) const
virtual

Returns the tags of this object.

Parameters
nTagsthe number of tags for this object (which is also the size of the returned array).
Returns
An array containing the pointers to all the tags for this object. This array is stored in an IlPoolOf(Pointer) and should not be deleted or modified. If there is no tags on this object, this function returns 0 (and nTags is set to 0)..

Reimplemented in IlvGadget.

virtual IlvStylist* IlvStylable::getStylist ( ) const
pure virtual

Returns the stylist for this object.

Returns
The stylist of this object or 0 if there is none.

Implemented in IlvGadget, and IlvAbstractView.


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