| java.lang.Object org.jdesktop.j3dedit.scenegrapheditor.WindowManager
WindowManager | public class WindowManager (Code) | | |
Method Summary | |
public Color | chooseColor(Color initialColor) | public File | chooseOpenFile(String title, FileFilter fileFilter) | public File | chooseOpenFile(String title, FileFilter fileFilter, File path) | public File | chooseOpenFile(String title) | public File | chooseSaveDirectory(String title, String approveButtonText, String approveButtonToolTip) | public File | chooseSaveFile(String title) | public File | chooseSaveFile(String title, FileFilter fileFilter, File defaultSelection) | public File | chooseSaveFile(String title, FileFilter fileFilter) | public JColorChooser | getColorChooser() | public int | getCurrentMode() | public J3dTreeFrame | getJ3dTreeFrame() | public static WindowManager | getManager() | public Component | getParentComponent() | public String | getRelativePath(File file) Given a file return the Canonical path relative to the users
current working directory as long as the File is either in the
current working directory of a subdirectory. | public TreeIconControl | getTreeIconControl() | public void | layoutWindows() | public void | setCurrentMode(int mode) | public void | setJ3dTreeFrame(J3dTreeFrame treeFrame) | public void | setTreeIconControl(TreeIconControl treeIconControl) | public void | setWaitState(boolean wait) Put application in a state for waiting for a long process to
complete, disables all user input and stops the renderer. | public void | showErrorMessage(String error) | public void | showMessage(String title, String message) |
J3D_EDIT_ANIMATION_MODE | final public static int J3D_EDIT_ANIMATION_MODE(Code) | | |
J3D_EDIT_POSITION_MODE | final public static int J3D_EDIT_POSITION_MODE(Code) | | |
J3D_EDIT_SCENEGRAPH_MODE | final public static int J3D_EDIT_SCENEGRAPH_MODE(Code) | | |
J3D_FLY_MODE | final public static int J3D_FLY_MODE(Code) | | |
J3D_NO_MODE | final public static int J3D_NO_MODE(Code) | | |
chooseColor | public Color chooseColor(Color initialColor)(Code) | | Static method to invoke user interaction and return a color
|
getColorChooser | public JColorChooser getColorChooser()(Code) | | Returns a JColorChooser
Control will be needed to ensure the chooser is only used by a
single consumer
|
getCurrentMode | public int getCurrentMode()(Code) | | Return the current windowing mode
|
getParentComponent | public Component getParentComponent()(Code) | | Return the component used as parent for dialogs etc
|
getRelativePath | public String getRelativePath(File file)(Code) | | Given a file return the Canonical path relative to the users
current working directory as long as the File is either in the
current working directory of a subdirectory.
If the file is not under the current working directory the
AbsolutePath for the file is returned
|
layoutWindows | public void layoutWindows()(Code) | | Layout the windows depending on the current mode
|
setCurrentMode | public void setCurrentMode(int mode)(Code) | | Set the current windowing mode and layout the windows accordingly
mode should be one of J3D_FLY_MODE, J3D_EDIT_SCENEGRAPH_MODE,
J3D_EDIT_ANIMATION_MODE, J3D_EDIT_POSITION_MODE
|
setWaitState | public void setWaitState(boolean wait)(Code) | | Put application in a state for waiting for a long process to
complete, disables all user input and stops the renderer.
|
showErrorMessage | public void showErrorMessage(String error)(Code) | | Display a one line error message in a Dialog
|
showMessage | public void showMessage(String title, String message)(Code) | | Display the message in a dialog
|
|
|