Home / 
  
Development / 
  
Documentation / 
  
    
	
	  
		
		
		  
2.0.44 / 
		
	  
      ConcretePaintableElement
	
  
 
info.bioinfweb.treegraph.document
Class ConcretePaintableElement
java.lang.Object
  
info.bioinfweb.treegraph.document.ConcretePaintableElement
- All Implemented Interfaces: 
 - PaintableElement, Cloneable
 
- Direct Known Subclasses: 
 - AbstractTextElement, Branch, Label
 
public abstract class ConcretePaintableElement
- extends Object
- implements Cloneable, PaintableElement
  
 
 
 
 
 
positions
protected EnumMap<PositionPaintType,PositionData> positions
ConcretePaintableElement
public ConcretePaintableElement()
getPosition
public PositionData getPosition(PositionPaintType type)
- Description copied from interface: 
PaintableElement 
- Returns the stored 
DataPosition-object of an for an positioner-
 identifier. If no position-object has been stored for this identifier, one will be created.
- Specified by:
 getPosition in interface PaintableElement
 
- Returns:
 - the stored position
 
 
 
clone
public abstract ConcretePaintableElement clone()
- Implementing classes should not copy the 
EnumMap positions because 
 the copy of this element will be located at another position. Therefor the copy will 
 should an empty EnumMap.
- Overrides:
 clone in class Object