rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvArrowButton Class Reference

Gadget class. More...

#include <ilviews/gadgets/arrowb.h>

Inheritance diagram for IlvArrowButton:
IlvButton IlvMessageLabel IlvGadget IlvGadgetItemHolder IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IlvArrowButton (IlvDisplay *display, const IlvPoint &at, IlvDirection direction, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 Constructor.
 IlvArrowButton (IlvDisplay *display, const IlvRect &rect, IlvDirection direction, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 Constructor.
IlvOrientation getDirection () const
 Returns the direction of the arrow.
void setDirection (IlvOrientation direction, IlBoolean redraw=IlFalse)
 Sets the direction of the arrow.

Detailed Description

Gadget class.

Library: ilvadvgdt

The IlvArrowButton class is a subclass of IlvButton that displays an arrow.

IlvArrowButtona.gif


- IlvArrowButton -

See also:
IlvSpinBox.

Constructor & Destructor Documentation

IlvArrowButton::IlvArrowButton ( IlvDisplay display,
const IlvRect rect,
IlvDirection  direction,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)

Constructor.

Initializes a new instance of the IlvArrowButton class.

Parameters:
display The connection to the display.
rect The size and position of the button.
direction The orientation of the arrow.
thickness The thickness of the button.
palette The palette used by the button.
IlvArrowButton::IlvArrowButton ( IlvDisplay display,
const IlvPoint at,
IlvDirection  direction,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)

Constructor.

Initializes a new instance of the IlvArrowButton class.

Parameters:
display The connection to the display.
at The position of the button.
direction The orientation of the arrow.
thickness The thickness of the button.
palette The palette used by the button.

Member Function Documentation

IlvOrientation IlvArrowButton::getDirection (  )  const

Returns the direction of the arrow.

Returns:
The direction of the arrow.
See also:
setDirection
void IlvArrowButton::setDirection ( IlvOrientation  direction,
IlBoolean  redraw = IlFalse 
)

Sets the direction of the arrow.

Parameters:
direction The new direction of the arrow. Valid values are: IlvRight, IlvLeft, IlvTop, and IlvBottom.
redraw A Boolean value indicating whether the button should be redrawn.
 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.