com.tensegrity.graphics.interaction
Interface InteractableLine

All Superinterfaces:
BaseInteractable
All Known Subinterfaces:
CompositeLine, VisualEdgeComposite
All Known Implementing Classes:
Line2D, Polyline2D

public interface InteractableLine
extends BaseInteractable

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

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

Method Summary
 Coordinate[] calculateCoordinates(InteractionInfo interactionInfo)
           
 int getActionMode(InteractionItem item)
           
 boolean isManipulable()
          Returns a boolean that indicates whether the InteractableLine is manipulable or not.
 void setManipulable(boolean manipulable)
          Sets the state of the ability to manipulate the InteractableLine to the value given by manipulable.
 
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

isManipulable

public boolean isManipulable()
Returns a boolean that indicates whether the InteractableLine is manipulable or not. Manipulable means in this case that a single point of the line can be manipulated.

Returns:
boolean flag that indicates if the InteractableLine is manipulable or not.

Find more information in the class documentation


setManipulable

public void setManipulable(boolean manipulable)
Sets the state of the ability to manipulate the InteractableLine to the value given by manipulable.

Parameters:
manipulable - the new state for the ability to manipulate the InteractableLine

Find more information in the class documentation


calculateCoordinates

public Coordinate[] calculateCoordinates(InteractionInfo interactionInfo)

getActionMode

public int getActionMode(InteractionItem item)


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