![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager view interactor class. More...
#include <ilviews/gadmgr/strinter.h>
Public Member Functions | |
| IlvManagerMakeLabelInteractor (IlvManager *manager, IlvView *eview) | |
| Constructor. | |
| virtual IlBoolean | accept (IlvPoint &p) |
| Starts the text interaction at the specified location. | |
| virtual void | doIt (const char *) |
| Finalizes the interaction. | |
Manager view interactor class.
Library: ilvgadmgr
Use this interactor to create or edit instances of IlvLabel and subtypes.
| IlvManagerMakeLabelInteractor::IlvManagerMakeLabelInteractor | ( | IlvManager * | manager, | |
| IlvView * | eview | |||
| ) |
Constructor.
Initializes an instance of the class IlvManagerMakeLabelInteractor.
Starts the text interaction at the specified location.
Called when the user presses the left mouse button in the working view. The default implementation creates the text field at location p and returns IlTrue. If p is contained in a graphic object subclass of IlvLabel, the text field is initialized with the same geometry filled with the same textual contents.
IlTrue if the interactor accepts the point as a valid position to start the interaction. | p | The position of the event that initiated the interaction. |
Reimplemented from IlvManagerMakeStringInteractor.
| virtual void IlvManagerMakeLabelInteractor::doIt | ( | const char * | ) | [virtual] |
Finalizes the interaction.
Called when the user validates the text field. The interactor modifies an existing IlvLabel or creates a new one.
| label | The string contained in the text field. |
Implements IlvManagerMakeStringInteractor.
© 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.