olr.viewer
Class ModelViewer

java.lang.Object
  extended byolr.viewer.ModelViewer
Direct Known Subclasses:
CourseViewer, InstanceFileViewer, SchemaViewer

public abstract class ModelViewer
extends java.lang.Object

Version:
$Id: ModelViewer.java,v 1.13 2004/08/03 16:01:15 roku Exp $

Field Summary
protected  boolean expanded
           
protected  Model model
           
protected  java.util.List modelRows
           
protected  java.lang.String title
           
 
Method Summary
protected abstract  void addSubitems(int i)
           
abstract  boolean checkSub(int rowNr)
           
 void expand()
           
 void expandAllResource(int rowNr)
           
 void expandResource(int rowNr)
           
 Model getModel()
           
 java.util.List getModelRows()
           
 java.lang.String getNamespace()
           
 java.lang.String getResource(int rowNr)
           
protected  java.lang.String getRoot()
           
 java.lang.String getTitle()
           
protected abstract  void initializeModelRows()
           
 boolean isExpanded()
           
 boolean isExpanded(int rowNr)
           
 void updateResource(java.lang.String resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

model

protected Model model

expanded

protected boolean expanded

modelRows

protected java.util.List modelRows
Method Detail

getRoot

protected final java.lang.String getRoot()

getModel

public Model getModel()

getNamespace

public java.lang.String getNamespace()

getTitle

public java.lang.String getTitle()

getResource

public java.lang.String getResource(int rowNr)

expand

public void expand()

isExpanded

public boolean isExpanded()

expandResource

public void expandResource(int rowNr)

updateResource

public void updateResource(java.lang.String resource)

isExpanded

public boolean isExpanded(int rowNr)

getModelRows

public java.util.List getModelRows()

expandAllResource

public void expandAllResource(int rowNr)

initializeModelRows

protected abstract void initializeModelRows()

addSubitems

protected abstract void addSubitems(int i)

checkSub

public abstract boolean checkSub(int rowNr)


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