|
|||||||||
Home >> All >> jpicedt >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
jpicedt.ui
Class MDIManager

java.lang.Objectjpicedt.ui.MDIManager
- public abstract class MDIManager
- extends java.lang.Object
An abstract class that serves a the superclass for jPicEdt Multiple Document Interface managers.
Concrete implementation know how to add or remove a document (i.e. a drawing board) to the MDI interface (e.g. by wrapping them in an internal frame or in a JFrame)
- Since:
- jPicEdt 1.3.2
Constructor Summary | |
MDIManager()
|
Method Summary | |
abstract void |
addDockablePanel(java.lang.String key,
javax.swing.JPanel pane)
Add the given pane to the hashtable of dockable panels, associated with the given key. |
abstract void |
addDrawingBoard(PEDrawingBoard board)
Add a new DrawingBoard component to the list of drawing boards. |
abstract void |
cascadeDrawingBoards()
|
abstract PEDrawingBoard[] |
getAllDrawingBoards()
|
abstract int |
getDrawingBoardCount()
|
abstract PEDrawingBoard |
getSelectedDrawingBoard()
|
abstract void |
removeDrawingBoard(PEDrawingBoard board)
Remove the given drawing board from the list of opened drawing board, if it exists. |
abstract void |
saveGeometry()
Save UI geometry preferences to the JPicEdt's preferences. |
abstract void |
selectDrawingBoard(PEDrawingBoard board)
select the given drawing board ; concrete implementation should call show() on the container hosting the given board. |
abstract void |
setHostingFrameTitle(java.lang.String str,
PEDrawingBoard board)
set the title of the frame/internal frame hosting the given board to the given string. |
abstract void |
showDockablePanel(java.lang.String key,
boolean b)
Set the visibility state of the dockable pane with the given key. |
abstract void |
showStatus(java.lang.String str)
Requests that the argument string be displayed in the status bar (aka Applet) |
abstract void |
tileDrawingBoardsHorizontally()
|
abstract void |
tileDrawingBoardsVertically()
|
abstract void |
toggleDockablePanel(java.lang.String key)
Toggle the visibility state of the dockable pane with the given key. |
abstract void |
update()
Update colour, geometry,... |
abstract void |
updateRecentFilesSubmenu()
update the menu (or menu-items) containing the list of the most recently saved boards, so that a click on one of these items re-opens the corresponding board. |
abstract void |
updateScriptsMenu()
update the menu containing the list of installed BSH scripts |
abstract void |
updateUndoRedoMenus(java.lang.String undoName,
java.lang.String redoName)
Update the menus (or menu-items, buttons,...) related to undo/redo action according to the given undoName and redoName labels. |
abstract void |
updateWindowMenu()
update the menu (or menu-items) containing the list of currently open boards, so that a click on one of these items activate (i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
MDIManager
public MDIManager()
Method Detail |
showStatus
public abstract void showStatus(java.lang.String str)
- Requests that the argument string be displayed in the status bar (aka Applet)
update
public abstract void update()
- Update colour, geometry,... from JPicEdt's preferences.
saveGeometry
public abstract void saveGeometry()
- Save UI geometry preferences to the JPicEdt's preferences.
updateWindowMenu
public abstract void updateWindowMenu()
- update the menu (or menu-items) containing the list of currently open boards, so that
a click on one of these items activate (i.e. brings to front) the corresponding board.
updateRecentFilesSubmenu
public abstract void updateRecentFilesSubmenu()
- update the menu (or menu-items) containing the list of the most recently saved boards,
so that a click on one of these items re-opens the corresponding board.
The list may be retrieved from JPicEdt.getPreferences().
updateUndoRedoMenus
public abstract void updateUndoRedoMenus(java.lang.String undoName, java.lang.String redoName)
- Update the menus (or menu-items, buttons,...) related to undo/redo action according to the given
undoName and redoName labels.
updateScriptsMenu
public abstract void updateScriptsMenu()
- update the menu containing the list of installed BSH scripts
addDrawingBoard
public abstract void addDrawingBoard(PEDrawingBoard board)
- Add a new DrawingBoard component to the list of drawing boards.
Concrete implementation should wrap the given DrawingBoard into
the adequate Swing component (JFrame, JInternalFrame,...)
- Since:
- jPicEdt 1.3.2
removeDrawingBoard
public abstract void removeDrawingBoard(PEDrawingBoard board)
- Remove the given drawing board from the list of opened drawing board, if it exists.
- Since:
- jPicEdt 1.3.2
getSelectedDrawingBoard
public abstract PEDrawingBoard getSelectedDrawingBoard()
- Since:
- jPicEdt 1.3.2
getAllDrawingBoards
public abstract PEDrawingBoard[] getAllDrawingBoards()
- Since:
- jPicEdt 1.3.2
selectDrawingBoard
public abstract void selectDrawingBoard(PEDrawingBoard board)
- select the given drawing board ; concrete implementation should call show()
on the container hosting the given board.
- Since:
- jPicEdt 1.3.2
getDrawingBoardCount
public abstract int getDrawingBoardCount()
addDockablePanel
public abstract void addDockablePanel(java.lang.String key, javax.swing.JPanel pane)
- Add the given pane to the hashtable of dockable panels, associated with the given key.
toggleDockablePanel
public abstract void toggleDockablePanel(java.lang.String key)
- Toggle the visibility state of the dockable pane with the given key.
showDockablePanel
public abstract void showDockablePanel(java.lang.String key, boolean b)
- Set the visibility state of the dockable pane with the given key.
cascadeDrawingBoards
public abstract void cascadeDrawingBoards()
- Since:
- jPicEdt 1.3.2
tileDrawingBoardsHorizontally
public abstract void tileDrawingBoardsHorizontally()
- Since:
- jPicEdt 1.3.2
tileDrawingBoardsVertically
public abstract void tileDrawingBoardsVertically()
- Since:
- jPicEdt 1.3.2
setHostingFrameTitle
public abstract void setHostingFrameTitle(java.lang.String str, PEDrawingBoard board)
- set the title of the frame/internal frame hosting the given board
to the given string.
Concrete implementation may first fetch the hosting frame for the given board, then call setTitle on it.
- Since:
- PicEdt 1.2.1
|
|||||||||
Home >> All >> jpicedt >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |