ini.trakem2.display
Class Displayable.DoEdit

java.lang.Object
  extended by ini.trakem2.display.Displayable.DoEdit
All Implemented Interfaces:
DoStep
Enclosing class:
Displayable

protected static class Displayable.DoEdit
extends java.lang.Object
implements DoStep

For any Displayable data, including: title, visible, locked, color, alpha, and a 'data' type which includes the actual data (points, areas, etc.) and the links,width,height, and transformation (since all the latter are correlated).


Field Summary
 
Fields inherited from interface ini.trakem2.display.DoStep
REDO, UNDO
 
Method Summary
 boolean add(DoStep step)
           
 boolean add(java.lang.String field, java.lang.Object value)
           
 boolean apply(int action)
          Set the stored data to the stored Displayable.
 boolean containsKey(java.lang.String field)
           
 Displayable getD()
          May return null.
 boolean isEmpty()
           
 boolean isIdenticalTo(java.lang.Object ob)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

containsKey

public boolean containsKey(java.lang.String field)

isIdenticalTo

public boolean isIdenticalTo(java.lang.Object ob)
Specified by:
isIdenticalTo in interface DoStep

getD

public Displayable getD()
Description copied from interface: DoStep
May return null.

Specified by:
getD in interface DoStep

add

public boolean add(DoStep step)

add

public boolean add(java.lang.String field,
                   java.lang.Object value)

apply

public boolean apply(int action)
Set the stored data to the stored Displayable.

Specified by:
apply in interface DoStep

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface DoStep