|
BioLegato 0.7.5 GDE plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.gdesupport.canvas.GDECanvas
public final class GDECanvas
The GDE-style sequence-based canvas class
| Field Summary | |
|---|---|
javax.swing.AbstractAction |
changeCaseAction
The action "Change Case" |
javax.swing.AbstractAction |
copyAction
The action "Copy" |
javax.swing.AbstractAction |
cutAction
The action "Cut" |
static java.awt.Font |
DEFAULT_FONT
The default font for the canvas |
javax.swing.AbstractAction |
joinAction
Action for joining split canvases |
javax.swing.Box |
mainDisplay
The main canvas display |
javax.swing.AbstractAction |
openAction
The action "Open..." |
javax.swing.AbstractAction |
pasteAction
The action "Paste" |
javax.swing.AbstractAction |
propertiesAction
The action "Properties..." |
javax.swing.AbstractAction |
saveAsAction
The action "Save As..." |
| Constructor Summary | |
|---|---|
GDECanvas()
Creates a new instance of BLGDECanvas |
|
| Method Summary | |
|---|---|
void |
cursorChange(int column,
int row)
Receives cursor updates for use in the status bar. |
java.awt.Component |
display()
Displays the canvas |
java.lang.String |
getName()
Returns the name to display in the canvas tab for |
void |
insertionMode(boolean mode)
Receives insertion mode change updates for use in the status bar. |
void |
readFile(java.lang.String formatString,
java.io.File file)
Reads a file into the canvas |
void |
selectionMade(GDETextArea source)
Manages mutual exclusion between the textarea and the list |
void |
updateFont(int size,
boolean bold)
Updates the font for the GDE canvas and its sub-objects |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Clears the data collector when an item is selected from the sequence list |
void |
writeFile(java.lang.String formatString,
java.io.File file)
Writes a file out from the canvas |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final javax.swing.AbstractAction openAction
public final javax.swing.AbstractAction saveAsAction
public final javax.swing.AbstractAction propertiesAction
public final javax.swing.AbstractAction joinAction
public final javax.swing.AbstractAction cutAction
public final javax.swing.AbstractAction copyAction
public final javax.swing.AbstractAction pasteAction
public final javax.swing.AbstractAction changeCaseAction
public javax.swing.Box mainDisplay
public static final java.awt.Font DEFAULT_FONT
| Constructor Detail |
|---|
public GDECanvas()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface org.biolegato.main.DataCanvas
public void cursorChange(int column,
int row)
column - the new column of the cursor.row - the new row of the cursor.public void insertionMode(boolean mode)
mode - the new insertion mode status.public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListenere - currently ignoredpublic void selectionMade(GDETextArea source)
source - the source of the event
public final void updateFont(int size,
boolean bold)
size - the new font sizebold - whether to bold the font
public void writeFile(java.lang.String formatString,
java.io.File file)
writeFile in interface org.biolegato.main.DataCanvasformatString - the file format to use for writing the file.file - the file to write out.
public void readFile(java.lang.String formatString,
java.io.File file)
readFile in interface org.biolegato.main.DataCanvasformatString - the file format to use for parsing the file.file - the file to read in.public java.awt.Component display()
display in interface org.biolegato.main.DataCanvas
|
BioLegato 0.7.5 GDE plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||