|
|||||||||
| Home >> All >> com >> trapezium >> [ chisel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.trapezium.chisel
Class ChiselPane

java.lang.Objectcom.trapezium.chisel.GuiAdapter
com.trapezium.chisel.ChiselPane
- All Implemented Interfaces:
- com.trapezium.chisel.gui.DisplayConstants, java.awt.LayoutManager, ProcessedFileViewer
- Direct Known Subclasses:
- ChiselTableStack, ChiselViewer, ChiselWorkspace, Table, TableRow
- public class ChiselPane
- extends GuiAdapter
- implements ProcessedFileViewer
- extends GuiAdapter
A top-level non-generic gui component of Chisel
| Field Summary |
| Fields inherited from class com.trapezium.chisel.GuiAdapter |
stretchLast |
| Constructor Summary | |
|
ChiselPane()
create a pane with a generic gui implementation |
|
ChiselPane(boolean scrollable)
create a generic scrollable pane |
|
ChiselPane(java.awt.Component pane)
create a pane with a specific gui implementation |
private |
ChiselPane(java.awt.Component pane,
boolean scrollable)
create a scrollable pane with a specific gui implementation |
| Method Summary | |
void |
dump()
dump the current document to the console |
void |
empty()
remove the current document from the viewer and display an empty document |
void |
fileDone(ProcessedFile data)
load an object into the viewer |
void |
fileUpdated(ProcessedFile data)
update the display if the object belongs to this viewer or is null |
ProcessedFile |
getProcessedFile()
get the ProcessedFile being viewed |
void |
save()
save the current document. |
void |
setProcessedFile(ProcessedFile data)
set the ProcessedFile being viewed |
| Methods inherited from class com.trapezium.chisel.GuiAdapter |
addLayoutComponent, getComponent, getContainer, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setComponent, setContainer, setStretchLast, show |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.trapezium.chisel.ProcessedFileViewer |
getComponent |
| Constructor Detail |
ChiselPane
public ChiselPane()
- create a pane with a generic gui implementation
ChiselPane
public ChiselPane(boolean scrollable)
- create a generic scrollable pane
ChiselPane
public ChiselPane(java.awt.Component pane)
- create a pane with a specific gui implementation
ChiselPane
private ChiselPane(java.awt.Component pane, boolean scrollable)
- create a scrollable pane with a specific gui implementation
| Method Detail |
fileUpdated
public void fileUpdated(ProcessedFile data)
- update the display if the object belongs to this viewer or is null
- Specified by:
fileUpdatedin interfaceProcessedFileViewer
fileDone
public void fileDone(ProcessedFile data)
- load an object into the viewer
- Specified by:
fileDonein interfaceProcessedFileViewer
save
public void save()
- save the current document. Prompts for filename if the document was not loaded
from disk or previously saved.
- Specified by:
savein interfaceProcessedFileViewer
empty
public void empty()
- remove the current document from the viewer and display an empty document
- Specified by:
emptyin interfaceProcessedFileViewer
getProcessedFile
public ProcessedFile getProcessedFile()
- get the ProcessedFile being viewed
- Specified by:
getProcessedFilein interfaceProcessedFileViewer
setProcessedFile
public void setProcessedFile(ProcessedFile data)
- set the ProcessedFile being viewed
- Specified by:
setProcessedFilein interfaceProcessedFileViewer
dump
public void dump()
- dump the current document to the console
- Specified by:
dumpin interfaceProcessedFileViewer
|
|||||||||
| Home >> All >> com >> trapezium >> [ chisel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC