|
|||||||||
| Home >> All >> com >> trapezium >> [ edit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.trapezium.edit
Interface Document

- public interface Document
| Method Summary | |
void |
clear_undo()
invalidate undo-redo list |
void |
close(boolean bail)
Closes this document. |
boolean |
deleteLine(int line)
Delete a line. |
java.lang.String |
getFilename()
Returns the filename (no path) for this document. |
java.lang.String |
getLine(int line)
Get the text for a line. |
int |
getLineCount()
Get the line count for a document. |
java.lang.String |
getPathname()
Returns the full path to this document. |
boolean |
insertLine(int line,
java.lang.String text)
Insert a line of text before the TagLine. |
boolean |
isDirty()
Fetch the dirty flag. |
void |
removeSerialFiles(int highestVersion)
|
boolean |
selectNode(com.trapezium.vrml.NodeSelection nodeSelection)
|
void |
setDocumentLoader(com.trapezium.factory.DocumentLoader docLoader)
|
boolean |
setLine(int line,
java.lang.String text)
Set the text for a line. |
void |
setLines(Lines lines)
|
void |
setNodeSelector(com.trapezium.vrml.SelectNode sn)
|
void |
setRedoItem(java.awt.MenuItem redoItem)
|
void |
setUndoItem(java.awt.MenuItem undoItem)
Pass context controlled MenuItems to doc |
void |
setViewerVersion(int version)
|
void |
setViewerVersion(int version,
java.io.Serializable object)
Set the viewer version |
boolean |
showLine(int line,
java.lang.String estr)
Bring forward any view window and scroll to the desired line. |
| Method Detail |
setLines
public void setLines(Lines lines)
setDocumentLoader
public void setDocumentLoader(com.trapezium.factory.DocumentLoader docLoader)
setNodeSelector
public void setNodeSelector(com.trapezium.vrml.SelectNode sn)
selectNode
public boolean selectNode(com.trapezium.vrml.NodeSelection nodeSelection)
removeSerialFiles
public void removeSerialFiles(int highestVersion)
close
public void close(boolean bail)
- Closes this document. If the "bail" flag is true changes will
be discarded, otherwise the user will be queried.
getPathname
public java.lang.String getPathname()
- Returns the full path to this document.
getFilename
public java.lang.String getFilename()
- Returns the filename (no path) for this document.
isDirty
public boolean isDirty()
- Fetch the dirty flag.
getLineCount
public int getLineCount()
- Get the line count for a document.
showLine
public boolean showLine(int line,
java.lang.String estr)
- Bring forward any view window and scroll to the desired line.
getLine
public java.lang.String getLine(int line)
- Get the text for a line.
setLine
public boolean setLine(int line,
java.lang.String text)
- Set the text for a line.
insertLine
public boolean insertLine(int line,
java.lang.String text)
- Insert a line of text before the TagLine.
deleteLine
public boolean deleteLine(int line)
- Delete a line.
setViewerVersion
public void setViewerVersion(int version,
java.io.Serializable object)
- Set the viewer version
setViewerVersion
public void setViewerVersion(int version)
setUndoItem
public void setUndoItem(java.awt.MenuItem undoItem)
- Pass context controlled MenuItems to doc
setRedoItem
public void setRedoItem(java.awt.MenuItem redoItem)
clear_undo
public void clear_undo()
- invalidate undo-redo list
|
|||||||||
| Home >> All >> com >> trapezium >> [ edit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC