|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Code Viewer Editor. Such an editor is able to perform editions of a Code Viewer
Method Summary | |
void |
copy()
Copy the selected section of document to system clipboard |
void |
export()
Export the displayed document This first displays the export dialog |
void |
export(java.io.PrintWriter writer,
int format,
java.awt.Insets insets,
int zoom,
CoopnEnv env)
Export the displayed document in the specified format |
void |
format()
Display the format dialog and start the formatting process |
void |
format(java.io.PrintWriter writer,
int format,
boolean contextMode,
boolean tabMode,
CoopnEnv env)
Format the document in the specified format |
void |
hideSelection()
Hide the selected portion of the document |
boolean |
isCompressionMode()
|
boolean |
isLineNoMode()
|
boolean |
isPrettyMode()
|
boolean |
isSymbolMode()
|
void |
nozoom()
Restore font to default size |
void |
print()
Print the displayed document |
void |
quit()
Dispose off the CodeViewer |
void |
resizeToFit()
Resize the viewer to fit the size of the document up to the maximum size of the screen |
void |
scrollToShow()
Scroll to show the selected section |
void |
selectAll()
Perform the selectAll action |
void |
setAllBlack()
Set a black color for the whole document. |
void |
setColor(java.awt.Color color)
Set the foreground color of the selected portion of the document. |
void |
setCompressionMode(boolean value)
Set the compression mode to the specified value |
void |
setLineNoMode(boolean value)
Set the line number mode to specified value |
void |
setPrettyMode(boolean value)
Set the pretty mode to the specified value |
void |
setSymbolMode(boolean value)
Set the symbol mode to the specified value |
void |
showAll()
Show all the hidden sections of the document |
java.lang.String |
title()
Get the title of the displayed document. |
void |
zoomIn()
Increase font |
void |
zoomOut()
Decrease font |
Method Detail |
public java.lang.String title()
public void print()
public void export()
public void export(java.io.PrintWriter writer, int format, java.awt.Insets insets, int zoom, CoopnEnv env)
public void format()
public void format(java.io.PrintWriter writer, int format, boolean contextMode, boolean tabMode, CoopnEnv env)
public void quit()
public void setColor(java.awt.Color color)
public void setAllBlack()
public void hideSelection()
public void showAll()
public void selectAll()
public void copy()
public void zoomIn()
public void zoomOut()
public void nozoom()
public void scrollToShow()
public void resizeToFit()
public void setLineNoMode(boolean value)
value
- the value to set the mode topublic void setSymbolMode(boolean value)
value
- the value to set the mode topublic void setCompressionMode(boolean value)
value
- the value to set the mode topublic void setPrettyMode(boolean value)
value
- the value to set the mode topublic boolean isLineNoMode()
public boolean isSymbolMode()
public boolean isCompressionMode()
public boolean isPrettyMode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |