sk.uniba.euromath.plugin.views.outline.items
Class CompoundOutlineItem

java.lang.Object
  extended by sk.uniba.euromath.plugin.views.outline.items.OutlineItem
      extended by sk.uniba.euromath.plugin.views.outline.items.CompoundOutlineItem
Direct Known Subclasses:
ElementOutlineItem, EntityOutlineItem

public abstract class CompoundOutlineItem
extends OutlineItem

Base outline item with children.

Author:
Tomáš Studva 23.1.2006

Field Summary
protected  boolean analyzed
           
protected  List<OutlineItem> children
          List of children.
 
Fields inherited from class sk.uniba.euromath.plugin.views.outline.items.OutlineItem
propSource
 
Constructor Summary
CompoundOutlineItem(Node model)
          Constructor.
 
Method Summary
 void addChild(OutlineItem child)
           
protected abstract  void analyze()
           
 List<OutlineItem> getChildren()
           
protected  boolean isAnalyzed()
           
 void removeChild(OutlineItem child)
           
protected  void setAnalyzed(boolean analyzed)
           
 
Methods inherited from class sk.uniba.euromath.plugin.views.outline.items.OutlineItem
createPropertySource, getImageKey, getModel, getParent, getPropertySource, isLeaf, setModel, setParent, setPropSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

protected final List<OutlineItem> children
List of children.


analyzed

protected boolean analyzed
Constructor Detail

CompoundOutlineItem

public CompoundOutlineItem(Node model)
Constructor.

Parameters:
model - which represents this compound outline item
Method Detail

addChild

public void addChild(OutlineItem child)
Overrides:
addChild in class OutlineItem

analyze

protected abstract void analyze()

getChildren

public List<OutlineItem> getChildren()
Overrides:
getChildren in class OutlineItem

removeChild

public void removeChild(OutlineItem child)
Overrides:
removeChild in class OutlineItem

isAnalyzed

protected boolean isAnalyzed()
Returns:
Returns the analyzed.

setAnalyzed

protected void setAnalyzed(boolean analyzed)
Parameters:
analyzed - The analyzed to set.


Copyright © 2003-2006 null. All Rights Reserved.