Rogue Wave Views Manager Package API Reference Guide |
Rogue Wave Views Documentation Home |
Manager view class. More...
#include <ilviews/manager/mgrview.h>
Public Member Functions | |
IlvManagerViewInteractor * | getInteractor () const |
Returns the interactor. More... | |
IlvRegionOptimizer * | getRegionOptimizer () const |
Returns the region optimizer. More... | |
IlvTransformer * | getTransformer () const |
Returns the transformer. More... | |
IlvManagerGrid * | grid () const |
Gets the manager grid. More... | |
IlBoolean | isVisible (int layer, IlBoolean filter=IlTrue) const |
Indicates the visibility of a layer in a manager view. More... | |
IlBoolean | keepAspectRatio () const |
Indicates whether a manager view preserves the x/y ratio. More... | |
IlvManager * | manager () const |
Gets the manager. More... | |
void | setRegionOptimizer (IlvRegionOptimizer *optimizer) |
Sets the region optimizer. More... | |
IlvView * | view () const |
Gets the view. More... | |
Manager view class.
Library: ilvmgr
The IlvManager
class uses an IlvMgrView
to store the necessary information regarding each view associated with the manager, such as the instance of IlvView
, the transformer used to draw in the view, the interactor, etc.
Instances of IlvMgrView
should not be created or deleted; they are internally handled by the manager.
IlvManagerViewInteractor* IlvMgrView::getInteractor | ( | ) | const |
Returns the interactor.
0
if there is none. IlvManager::getInteractor()
. IlvRegionOptimizer* IlvMgrView::getRegionOptimizer | ( | ) | const |
Returns the region optimizer.
The default value is 0. In this case, the manager view will use a default region optimizer.
0
if there's none. IlvTransformer* IlvMgrView::getTransformer | ( | ) | const |
Returns the transformer.
IlvManager::getTransformer()
. IlvManagerGrid* IlvMgrView::grid | ( | ) | const |
Gets the manager grid.
0
if there is none. IlvManagerGrid::getGrid()
. Indicates the visibility of a layer in a manager view.
IlTrue
if the layer is visible for the manager view. The function does not check the global visibility of the layer, that is, the visibility from the manager point of view. layer | The index of the manager layer. |
filter | If set to IlFalse , the function ignores the visibility filters set on the layer, otherwise they are called and taken into account. |
IlBoolean IlvMgrView::keepAspectRatio | ( | ) | const |
Indicates whether a manager view preserves the x/y ratio.
IlTrue
if the manager view automatically respects the aspect ratio (that is, the x/y ratio) when its transformer is changed. IlvManager::isKeepingAspectRatio()
. IlvManager* IlvMgrView::manager | ( | ) | const |
Gets the manager.
void IlvMgrView::setRegionOptimizer | ( | IlvRegionOptimizer * | optimizer | ) |
Sets the region optimizer.
The previous region optimizer, if any, is deleted.
optimizer | The new region optimizer. |
IlvView* IlvMgrView::view | ( | ) | const |
Gets the view.
IlvView
instance associated with the manager and represented by the IlvMgrView
. © Copyright 2017, 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.