com.tensegrity.graphics.interaction
Interface Interactable

All Superinterfaces:
BaseInteractable
All Known Subinterfaces:
Composite, CompositeControl, CompositeGroup, CompositeLabel, CompositeSwimLane, CompositeSwimLanePool, CompositeTable, VisualNodeComposite, VisualSubgraphComposite
All Known Implementing Classes:
Ellipse2D, Label2D, Polygon2D, Rect2D

public interface Interactable
extends BaseInteractable

An Interactable is a generalization of the BaseInteractable interface. Therefore it is neccessary to read the documentation of the BaseComposite interface to have an understanding of the basics for an interactable object.

Version:
$Id: Interactable.java,v 1.17 2006/03/21 14:26:11 MichaelKegel Exp $
Author:
MKegel

Method Summary
 BoundingBox calculateBoundingBox(InteractionInfo interactionInfo)
           
 boolean isResizable()
          Returns a boolean that indicates whether the Interactable is resizable or not.
 void setResizable(boolean resizable)
          Sets the state of resizability for the Interactable to the value given by resizable.
 
Methods inherited from interface com.tensegrity.graphics.interaction.BaseInteractable
getBoundingBox, getInteractionDescriptor, getMoveItem, hits, internalEnableSelection, internalSelect, internalSetSelected, isMovable, isSelectable, isSelected, mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postActing, preActing, select, setMovable, setSelectable, setSelected, startAction, stopAction
 

Method Detail

isResizable

public boolean isResizable()
Returns a boolean that indicates whether the Interactable is resizable or not.

Returns:
boolean that indicates the state of resizability of the Interactable

setResizable

public void setResizable(boolean resizable)
Sets the state of resizability for the Interactable to the value given by resizable.

Parameters:
resizable - the new state of resizability for the Interactable

calculateBoundingBox

public BoundingBox calculateBoundingBox(InteractionInfo interactionInfo)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.