gate.gui.ontology
Class DetailsGroup

java.lang.Object
  extended by gate.gui.ontology.DetailsGroup

public class DetailsGroup
extends Object

Represents each group (e.g. direct sub classes, all subclasses, property values etc.) shown in the right hand side of panel when a resource in the ontology tree is selected.

Author:
niraj

Constructor Summary
DetailsGroup(String groupName, boolean flag, Collection<OResource> collection)
           
 
Method Summary
 String getName()
           
 int getSize()
           
 Object getValueAt(int index)
           
 List getValues()
           
 boolean isExpanded()
           
 void setExpanded(boolean flag)
           
 void setName(String s)
           
 Object setValueAt(int index, Object value)
          Set one of the value in the list.
 void setValues(List list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailsGroup

public DetailsGroup(String groupName,
                    boolean flag,
                    Collection<OResource> collection)
Method Detail

getName

public String getName()

isExpanded

public boolean isExpanded()

setExpanded

public void setExpanded(boolean flag)

setName

public void setName(String s)

getSize

public int getSize()

getValueAt

public Object getValueAt(int index)

getValues

public List getValues()

setValues

public void setValues(List list)

setValueAt

public Object setValueAt(int index,
                         Object value)
Set one of the value in the list. Same behaviour as List.set(int, Object).