public interface AcetateTool
AcetateTool
class manages an acetate tool delegate that does the actual work
of creating and rendering markup. For more information on the acetate functionality, see
AcetateToolBase
.Modifier and Type | Method and Description |
---|---|
void |
activate(ViewProxy view)
Activates the acetate tool for the specified view.
|
void |
cancelMode()
Cancels any mode that the tool is in, and ends its current markup.
|
void |
deactivate(ViewProxy view)
Deactivates the acetate tool for the specified view.
|
void |
draw(CollaborationLayer layer,
java.util.UUID sessionId,
java.util.UUID instanceId,
org.jdom.Element markup,
PureWebColor defaultColor)
Draws any data specified in markup.
|
java.lang.String |
getMarkupType()
Returns the markup type.
|
boolean |
isMutuallyExclusive()
Returns a Boolean value that indicates whether this tool is mutually exclusive with others.
|
boolean |
isOneShot()
Returns a Boolean value that indicates whether this instance is a one-shot tool.
|
java.lang.String getMarkupType()
void draw(CollaborationLayer layer, java.util.UUID sessionId, java.util.UUID instanceId, org.jdom.Element markup, PureWebColor defaultColor)
ToolDrawObjectCache
,
which can store drawing objects based on session ID, view name, and an arbitrary object
name.
The drawing operation is carried out independently of any view that the tool is currently activated for.
layer
- The collaboration layer containing the markup.sessionId
- The session's unique identifier.instanceId
- The unique identifier of the drawing tool instance.markup
- The markup.defaultColor
- The default color.void cancelMode()
void activate(ViewProxy view)
view
- The view, represented by a ViewProxy
instance.void deactivate(ViewProxy view)
view
- The view, represented by a ViewProxy
instance.boolean isMutuallyExclusive()
true
if it is, or false
otherwise.boolean isOneShot()
true
if it is, or false
otherwise.
A one-shot tool does not stay activated; it is immediately deactivated after activation.© 2010 - 2018 Calgary Scientific Inc. All Rights Reserved.
This documentation shall not wholly or in part, in any form or by any means, electronic, mechanical, including photocopying, be reproduced or transmitted without the authorized, written consent of Calgary Scientific.