olr.viewer
Class CourseViewer

java.lang.Object
  extended byolr.viewer.ModelViewer
      extended byolr.viewer.CourseViewer

public final class CourseViewer
extends ModelViewer

Version:
$Id: CourseViewer.java,v 1.17 2004/08/03 12:47:49 roku Exp $

Field Summary
 
Fields inherited from class olr.viewer.ModelViewer
expanded, model, modelRows, title
 
Constructor Summary
CourseViewer(Model model, java.lang.String root, java.lang.String title, boolean isAuthor)
          Initializes an instance of this class.
 
Method Summary
protected  void addSubitems(int rowNr)
           
 boolean checkSub(int rowNr)
           
protected  void initializeModelRows()
           
 boolean isExpanded()
           
 
Methods inherited from class olr.viewer.ModelViewer
expand, expandAllResource, expandResource, getModel, getModelRows, getNamespace, getResource, getRoot, getTitle, isExpanded, updateResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseViewer

public CourseViewer(Model model,
                    java.lang.String root,
                    java.lang.String title,
                    boolean isAuthor)
Initializes an instance of this class.

Parameters:
model -
root -
title -
isAuthor -
Method Detail

isExpanded

public boolean isExpanded()
Overrides:
isExpanded in class ModelViewer

initializeModelRows

protected void initializeModelRows()
Specified by:
initializeModelRows in class ModelViewer

addSubitems

protected void addSubitems(int rowNr)
Specified by:
addSubitems in class ModelViewer

checkSub

public boolean checkSub(int rowNr)
Specified by:
checkSub in class ModelViewer


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