|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
gate.creole.AbstractVisualResource
gate.gui.jape.JapeViewer
Title: Gate2
Description:
Copyright: Copyright (c) 2000
Company: University Of Sheffield
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private boolean |
editable
Should this component bahave as an editor as well as an viewer |
private String |
japeFileContents
a field that holds the jape file contents |
private URL |
japeFileURL
A field that holds the jape file name |
private JButton |
revertButton
A Button for reverting contents |
private JButton |
saveButton
A Button for saving the contents in a Jape file |
protected JTextArea |
textArea
The text display. |
protected JScrollPane |
textScroll
Scroller used for the text diaplay |
protected JToolBar |
toolbar
The toolbar displayed on the top part of the component |
private Transducer |
transducer
Transducer |
Fields inherited from class gate.creole.AbstractVisualResource |
features, handle |
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JapeViewer()
|
Method Summary | |
Resource |
init()
An Init method |
private void |
initGuiComponents()
|
void |
setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a specific object. |
Methods inherited from class gate.creole.AbstractVisualResource |
cleanup, getFeatures, getParameterValue, setFeatures, setHandle, setParameterValue, setParameterValues |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gate.util.NameBearer |
getName, setName |
Field Detail |
protected JTextArea textArea
protected JScrollPane textScroll
protected JToolBar toolbar
private boolean editable
private JButton saveButton
private JButton revertButton
private URL japeFileURL
private String japeFileContents
private Transducer transducer
Constructor Detail |
public JapeViewer()
Method Detail |
public Resource init()
init
in interface Resource
init
in class AbstractVisualResource
private void initGuiComponents()
public void setTarget(Object target)
AbstractVisualResource
setTarget
in interface VisualResource
setTarget
in class AbstractVisualResource
target
- the object (be it a Resource
,
DataStore
or whatever) this viewer has to display
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |