olr.viewer
Class ModelViewerRow

java.lang.Object
  extended byolr.viewer.ModelViewerRow
Direct Known Subclasses:
CourseViewerRow

public class ModelViewerRow
extends java.lang.Object

Version:
$Id: ModelViewerRow.java,v 1.5 2004/08/03 08:33:53 roku Exp $

Field Summary
protected  boolean expanded
           
protected  boolean hasSub
           
protected  boolean isPredicate
           
protected  int level
           
protected  ModelViewer modelViewer
           
protected  java.lang.String resource
           
 
Constructor Summary
ModelViewerRow(ModelViewer modelViewer, java.lang.String resource, int level)
           
ModelViewerRow(ModelViewer modelViewer, java.lang.String resource, int level, boolean isPredicate)
           
 
Method Summary
 void expand()
           
 java.lang.String getID()
           
 int getIndent()
           
 java.lang.String getResource()
           
 java.lang.String getTitle()
           
 boolean isExpandable()
           
 boolean isExpanded()
           
 boolean isPredicate()
           
 boolean isSchemaProperty()
           
 void setSub(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelViewer

protected ModelViewer modelViewer

resource

protected java.lang.String resource

level

protected int level

expanded

protected boolean expanded

isPredicate

protected boolean isPredicate

hasSub

protected boolean hasSub
Constructor Detail

ModelViewerRow

public ModelViewerRow(ModelViewer modelViewer,
                      java.lang.String resource,
                      int level,
                      boolean isPredicate)

ModelViewerRow

public ModelViewerRow(ModelViewer modelViewer,
                      java.lang.String resource,
                      int level)
Method Detail

isExpanded

public boolean isExpanded()

expand

public void expand()

isExpandable

public boolean isExpandable()

setSub

public void setSub(boolean b)

isPredicate

public boolean isPredicate()

getID

public java.lang.String getID()

getTitle

public java.lang.String getTitle()

getIndent

public int getIndent()

isSchemaProperty

public boolean isSchemaProperty()

getResource

public java.lang.String getResource()


Copyright © 2001-2004 University of Hannover. All Rights Reserved.