Class DraggingModel

All Implemented Interfaces:

public class DraggingModel
extends java.lang.Object
implements edu.mssm.crover.domain2d.DraggingModelInterface

Dragging model. This class is the model to determine if a residue can be dragged with the mouse to another location (by user interaction), or if the position is fixed (determined only by the layout algorithm for instance). It is the responsability of a Domain2D subclass implementor to turn off the dragging behaviour of residues incorporated in the SSE.

Constructor Summary
          The state is draggable=true by default
Method Summary
 boolean isDraggable()
 void setDragging(boolean new_state)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DraggingModel()
The state is draggable=true by default

Method Detail


public boolean isDraggable()
Specified by:
isDraggable in interface edu.mssm.crover.domain2d.DraggingModelInterface


public void setDragging(boolean new_state)
Specified by:
setDragging in interface edu.mssm.crover.domain2d.DraggingModelInterface

Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.