|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--keffa.SadissControl
SadissControl builds and manages Sadiss' user interface. It builds toolbar, menu bar, document frames, and handles their events. Most common events are handled using the Action interface.
Field Summary | |
protected javax.swing.undo.UndoManager |
undoManager
|
Method Summary | |
javax.swing.JComboBox |
createComboBox(java.lang.String[] items,
int size)
Builds a combobox for font size |
keffa.SadissControl.SadissDocumentFrame |
createDocumentFrame(java.lang.String fileName)
Returns SadissDocumentFrame, which is an JInternalFrame type |
javax.swing.Action |
getCloseAction()
Returns an initialized instance of CloseAction |
javax.swing.Action |
getExitAction()
Returns an initialized instance of ExitAction |
java.lang.String[] |
getFontList()
Returns list of available fonts on the system. |
javax.swing.Action |
getHelpAction()
Returns an initialized instance of ExitAction |
javax.swing.Action |
getNewAction()
Returns an initialized instance of NewAction |
javax.swing.Action |
getOpenAction()
Returns an initialized instance of OpenAction |
javax.swing.Action |
getPrintAction()
Returns an initialized instance of PrintAction |
javax.swing.Action |
getRedoAction()
Returns an initialized instance of RedoAction |
javax.swing.JMenuBar |
getSadissMenuBar()
Returns an instance of a menubar |
keffa.SadissControl.SadissToolBar |
getSadissToolBar()
Returns an instance of SadissToolBar |
javax.swing.Action |
getSaveAction()
Returns an initialized instance of SaveAction |
javax.swing.Action |
getSaveAsAction()
Returns an initialized instance of SaveAsAction |
javax.swing.Action |
getSearchAction()
Returns an initialized instance of SearchAction |
javax.swing.Action |
getThemeAction()
Returns an initialized instance of ThemeAction |
javax.swing.JToolBar |
getToolBar()
Returns an instance of SadissToolBar and returns a toolbar |
javax.swing.Action |
getUndoAction()
Returns an initialized instance of UndoAction |
javax.swing.Action |
getUnicodeAction()
Returns an initialized instance of ThemeAction |
void |
hashDefaultActions()
builds hashtable of the JTextPane actions |
javax.swing.Action |
setActionProperty(javax.swing.Action a,
java.lang.String toolTip,
java.lang.String icon)
sets an action's icon, tip, |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.undo.UndoManager undoManager
Method Detail |
public keffa.SadissControl.SadissDocumentFrame createDocumentFrame(java.lang.String fileName)
fileName
- name of the documentpublic javax.swing.Action getUnicodeAction()
public javax.swing.Action getThemeAction()
public javax.swing.Action getSearchAction()
public javax.swing.Action getNewAction()
public javax.swing.Action getCloseAction()
public javax.swing.Action getSaveAction()
public javax.swing.Action getSaveAsAction()
public javax.swing.Action getOpenAction()
public javax.swing.Action getPrintAction()
public javax.swing.Action getExitAction()
public javax.swing.Action getUndoAction()
public javax.swing.Action getRedoAction()
public javax.swing.Action getHelpAction()
public javax.swing.JMenuBar getSadissMenuBar()
public javax.swing.JComboBox createComboBox(java.lang.String[] items, int size)
public void hashDefaultActions()
public javax.swing.Action setActionProperty(javax.swing.Action a, java.lang.String toolTip, java.lang.String icon)
public java.lang.String[] getFontList()
public javax.swing.JToolBar getToolBar()
public keffa.SadissControl.SadissToolBar getSadissToolBar()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |