Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
View rectangle class. More...
#include <ilviews/gadgets/rectscgc.h>
Public Member Functions | |
IlvSCGadgetContainerRectangle (IlvDisplay *display, const IlvRect &rect, IlvPalette *palette=0) | |
Constructor. More... | |
virtual IlvGadgetContainer * | getGadgetContainer () const |
Returns a pointer to the encapsulated gadget container. More... | |
IlvScrollBar * | getHorizontalScrollBar () const |
Returns a pointer to the horizontal scroll bar used by this object. More... | |
IlvScrolledView * | getScrolledView () const |
Returns a pointer to the scrolled view that contains the gadget container encapsulated by the object. More... | |
IlvScrollBar * | getVerticalScrollBar () const |
Returns a pointer to the vertical scroll bar used by this object. More... | |
void | hideScrollBar (IlvOrientation direction) |
Hides the scroll bar specified by direction. More... | |
IlBoolean | isUsingScrollBar (IlvOrientation direction) |
Indicates whether the specified scroll bar is used. More... | |
void | moveScrollBar (IlvOrientation direction, IlvPosition where) |
Moves the scroll bar specified by direction to a new position. More... | |
void | showScrollBar (IlvOrientation direction) |
Shows the scroll bar specified by direction. More... | |
IlvPosition | whereIsScrollBar (IlvOrientation direction) const |
Returns the location of the specified scroll bar. More... | |
Public Member Functions inherited from IlvGadgetContainerRectangle | |
IlvGadgetContainerRectangle (IlvDisplay *display, const IlvRect &rect, IlvPalette *palette=0) | |
Constructor. More... | |
View rectangle class.
Library: ilvgadgt
The IlvSCGadgetContainerRectangle
class implements an IlvGadgetContainerRectangle
with scroll bars. You can decide whether the scroll bars should be shown or hidden. This class actually creates an IlvScrolledView
object that contains the gadget container encapsulated by this object.
IlvSCGadgetContainerRectangle::IlvSCGadgetContainerRectangle | ( | IlvDisplay * | display, |
const IlvRect & | rect, | ||
IlvPalette * | palette = 0 |
||
) |
Constructor.
Initializes a new instance of the IlvSCGadgetContainerRectangle
class.
display | The connection to the display. |
rect | The object size. |
palette | The object palette. The palette background color is set to the background color of the encapsulated gadget container. |
|
virtual |
Returns a pointer to the encapsulated gadget container.
Reimplemented from IlvGadgetContainerRectangle.
IlvScrollBar* IlvSCGadgetContainerRectangle::getHorizontalScrollBar | ( | ) | const |
Returns a pointer to the horizontal scroll bar used by this object.
IlvScrolledView* IlvSCGadgetContainerRectangle::getScrolledView | ( | ) | const |
Returns a pointer to the scrolled view that contains the gadget container encapsulated by the object.
IlvScrollBar* IlvSCGadgetContainerRectangle::getVerticalScrollBar | ( | ) | const |
Returns a pointer to the vertical scroll bar used by this object.
void IlvSCGadgetContainerRectangle::hideScrollBar | ( | IlvOrientation | direction | ) |
Hides the scroll bar specified by direction.
Hides the scroll bar specified by direction and deactivates it.
direction | The scroll bar direction. Valid values are: IlvHorizontal or IlvVertical . |
IlBoolean IlvSCGadgetContainerRectangle::isUsingScrollBar | ( | IlvOrientation | direction | ) |
Indicates whether the specified scroll bar is used.
direction | The scroll bar direction. Valid valued are: IlvHorizontal or IlvVertical . |
IlTrue
if the scroll bar specified by direction is used and IlFalse
otherwise. void IlvSCGadgetContainerRectangle::moveScrollBar | ( | IlvOrientation | direction, |
IlvPosition | where | ||
) |
Moves the scroll bar specified by direction to a new position.
direction | The direction of the scroll bar to be moved. Valid values are: IlvHorizontal and IlvVertical . |
where | The new position of the scroll bar. Valid values are: IlvLeft or IlvRight for horizontal scroll bars, and IlvTop or IlvBottom for vertical scroll bars. |
void IlvSCGadgetContainerRectangle::showScrollBar | ( | IlvOrientation | direction | ) |
Shows the scroll bar specified by direction.
Displays the scroll bar specified by direction and activates it.
direction | The scroll bar direction. Valid values are: IlvHorizontal or IlvVertical . |
IlvPosition IlvSCGadgetContainerRectangle::whereIsScrollBar | ( | IlvOrientation | direction | ) | const |
Returns the location of the specified scroll bar.
direction | The direction of the scroll bar. Valid values are: IlvHorizontal and IlvVertical . |
© 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.