flatscape
Class PView

java.lang.Object
  |
  +--manifold.se.View
        |
        +--flatscape.PView
All Implemented Interfaces:
Configurable

public class PView
extends View

Base class for internal frames in Flatscape e.g. GlyphViewer and OverlayManager. Can be instantiated by itself with the parent providing a content pane.

Copyright (c) 2001 Rutgers, The State University of New Jersey

Since:
manifold %Version%
Version:
%Version%, %Time%

Field Summary
protected  java.lang.String title_
           
 
Fields inherited from class manifold.se.View
viewer_
 
Constructor Summary
PView()
          Default Constructor
 
Method Summary
 java.lang.Object config(java.lang.Object parent, org.w3c.dom.Element config)
          Implementation of FConfigurable.
 java.lang.String getTitle()
           
 void redraw()
          Redraws the view
 void setTitle(java.lang.String title)
          Sets the title of the frame
 
Methods inherited from class manifold.se.View
getConfigElement, getContentPane, getId, getViewer, setContentPane
 
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_
Constructor Detail

PView

public PView()
Default Constructor

Method Detail

config

public java.lang.Object config(java.lang.Object parent,
                               org.w3c.dom.Element config)
                        throws java.lang.Exception
Implementation of FConfigurable. Configures the PView.

Specified by:
config in interface Configurable
Overrides:
config in class View
Parameters:
parent - The argument passed into the FConfig.getList method
config - The DOM element representing the XML element that loaded this class.
Returns:
The configured class, usually returns this.
Throws:
java.lang.Exception - Thrown if there is any problem configuring this class.

setTitle

public void setTitle(java.lang.String title)
Sets the title of the frame

Specified by:
setTitle in class View

getTitle

public java.lang.String getTitle()
Returns:
the title of this view

redraw

public void redraw()
Redraws the view

Specified by:
redraw in class View


Copyright (c) 2003 Rutgers, The State University of New Jersey