|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--manifold.se.View
|
+--flatscape.FView
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
| Field Summary | |
protected javax.swing.AbstractButton |
button_
Button for hide and show of frame |
protected javax.swing.JInternalFrame |
frame_
|
protected int |
height
|
protected java.lang.String |
icon
|
protected java.lang.String |
tip
|
protected java.lang.String |
title
|
protected int |
width
|
protected int |
x
|
protected int |
y
|
| Fields inherited from class manifold.se.View |
viewer_ |
| Constructor Summary | |
FView()
Default Constructor |
|
FView(boolean visible)
Constructor for hide of frame until used |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Called when button is pressed. |
java.lang.Object |
config(java.lang.Object parent,
org.w3c.dom.Element config)
Implementation of FConfigurable. |
javax.swing.AbstractButton |
getButton()
|
javax.swing.JInternalFrame |
getFrame()
|
boolean |
isVisible()
|
void |
redraw()
Redraws the view |
void |
resetLayout()
Restores the default size and location of this FPane. |
void |
setContentPane(java.awt.Container pane)
Sets the content pane in the view and in the frame. |
void |
setTitle(java.lang.String title)
Sets the title of the frame |
protected void |
setToggleButton(java.lang.String text,
java.lang.String tipText)
Defines the button for hide and show of this pane |
void |
setVisible(boolean visible)
Hides or shows the frame |
| Methods inherited from class manifold.se.View |
getConfigElement, getContentPane, getId, getViewer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.swing.JInternalFrame frame_
protected java.lang.String title
protected java.lang.String tip
protected java.lang.String icon
protected int x
protected int y
protected int width
protected int height
protected javax.swing.AbstractButton button_
| Constructor Detail |
public FView()
public FView(boolean visible)
visible - true if frame should be visible from initialization time, else false| Method Detail |
public java.lang.Object config(java.lang.Object parent,
org.w3c.dom.Element config)
throws java.lang.Exception
config in interface Configurableconfig in class Viewparent - The argument passed into the FConfig.getList methodconfig - The DOM element representing the XML element that
loaded this class.
java.lang.Exception - Thrown if there is any problem configuring this class.public void resetLayout()
public javax.swing.JInternalFrame getFrame()
public void setTitle(java.lang.String title)
setTitle in class Viewpublic void setContentPane(java.awt.Container pane)
setContentPane in class Viewpane - the content panepublic boolean isVisible()
public void setVisible(boolean visible)
visible - true if frame should be visible, else false
protected void setToggleButton(java.lang.String text,
java.lang.String tipText)
public javax.swing.AbstractButton getButton()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void redraw()
redraw in class View
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||