rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvManagerMakeListLabelInteractor Class Reference

Manager view interactor class. More...

#include <ilviews/gadmgr/txtinter.h>

Inheritance diagram for IlvManagerMakeListLabelInteractor:
IlvManagerMakeTextInteractor IlvManagerViewInteractor

List of all members.

Public Member Functions

 IlvManagerMakeListLabelInteractor (IlvManager *manager, IlvView *view)
 Constructor.
virtual IlBoolean accept (IlvPoint &p)
 Starts the text interaction at the specified location.
virtual void doIt (const char *const *s, IlUShort count)
 Finalizes the interaction.

Detailed Description

Manager view interactor class.

Library: ilvgadmgr

Use this interactor to edit or create the IlvListLabel instances and subtypes.

See also:
IlvListLabel, IlvManagerMakeLabelInteractor, IlvManagerMakeStringInteractor.

Constructor & Destructor Documentation

IlvManagerMakeListLabelInteractor::IlvManagerMakeListLabelInteractor ( IlvManager manager,
IlvView view 
)

Constructor.

Initializes an instance of the class IlvManagerMakeListLabelInteractor.


Member Function Documentation

virtual IlBoolean IlvManagerMakeListLabelInteractor::accept ( IlvPoint p  )  [virtual]

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 object at location p and returns IlTrue. If p is contained in a graphic object subclass of IlvListLabel, the text object is initialized with the same geometry filled with the same textual contents.

Returns:
IlTrue if the interactor accepts the point as a valid position to start the interaction.
Parameters:
p The position of the event that initiated the interaction.

Reimplemented from IlvManagerMakeTextInteractor.

virtual void IlvManagerMakeListLabelInteractor::doIt ( const char *const *  s,
IlUShort  count 
) [virtual]

Finalizes the interaction.

Called when the user validates the text entry. The text contents are passed to this function. The action performed is to create a new IlvListLabel graphic object or to modify the contents of an existing one.

Parameters:
lines The array of strings stored by the interactor.
count The number of strings in the array.

Implements IlvManagerMakeTextInteractor.

 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.