Package | Description |
---|---|
jpicedt |
Contains the main JPicEdt class, as well as some utilities.
|
jpicedt.ui |
Some classes and interfaces that help building concrete implementation of MDIManager's.
|
jpicedt.ui.internal |
Implementation of MDIManager and related using JInternalFrame's.
|
Modifier and Type | Method and Description |
---|---|
static PEDrawingBoard |
JPicEdt.getActiveDrawingBoard()
Return the currently active PEDrawingBoard, or null if none is active.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
JPicEdt.closeBoard(PEDrawingBoard board)
Close the given board, or the currently active board if "board" is null.
|
Constructor and Description |
---|
FileSaveAction(PEDrawingBoard board)
save the content of the given board
|
Modifier and Type | Field and Description |
---|---|
protected PEDrawingBoard |
MDIManager.activeBoard
Reference on the currently active board, or null if no board is currently open.
|
Modifier and Type | Method and Description |
---|---|
abstract PEDrawingBoard |
MDIManager.getActiveDrawingBoard()
Returns the currently active drawing board
|
PEDrawingBoard[] |
MDIManager.getAllDrawingBoards()
Returns all opened drawing boards
|
Modifier and Type | Method and Description |
---|---|
void |
MDIManager.addDrawingBoard(PEDrawingBoard board)
Adds a new DrawingBoard component to the list of drawing boards.
|
abstract void |
MDIManager.closeBoard(PEDrawingBoard board)
Ask the given board to close itself
|
MDIManager.MDIComponent |
MDIManager.getHostingContainer(PEDrawingBoard board)
Returns the MDIComponent that contains the given board
|
protected boolean |
MDIManager.removeDrawingBoard(PEDrawingBoard board)
Remove the given drawing board from the list of open drawing boards, possibly attempting to
save its content if necessary, then unregisters any previously registered listener.
|
abstract void |
MDIManager.selectDrawingBoard(PEDrawingBoard board)
Selects the given drawing board ; concrete implementation should call show() or any similar method
on the MDIComponent (aka container) hosting the given board.
|
void |
MDIManager.setHostingContainerTitle(java.lang.String title,
PEDrawingBoard board)
Sets the title of the frame/internal frame hosting the given board
to the given string.
|
Modifier and Type | Method and Description |
---|---|
PEDrawingBoard |
InternalFrameMDIManager.getActiveDrawingBoard()
Returns the currently active drawing board ;
null if there's no internal frame in the desktopPane.
If there's at least one internal frame in the desktop, but it's deactivated (this should never happen however), then the policy is to arbitrarly activate one frame (namely the topmost frame on the desktop which is also the last one in the framearray) |
PEDrawingBoard |
JFrameMDIManager.getActiveDrawingBoard()
Returns the currently active drawing board ;
null if there's no frame hosting a PEDrawingBoard in the desktop.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalFrameMDIManager.closeBoard(PEDrawingBoard board) |
void |
JFrameMDIManager.closeBoard(PEDrawingBoard board) |
void |
InternalFrameMDIManager.selectDrawingBoard(PEDrawingBoard board)
selects the given drawing board by bringing it to front.
|
void |
JFrameMDIManager.selectDrawingBoard(PEDrawingBoard board)
selects the given drawing board by bringing it to front.
|
Submit a bug : syd@jpicedt.org