|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jet.Jet
jET application. Entry point. Creates frame, menu, reads configuration file.
Field Summary | |
Configuration |
config
Current configuration. |
Constructor Summary | |
Jet()
Creates frame and initializes everything. |
Method Summary | |
void |
addSceneryFrame(SceneryFrame sf)
Adds scenery frame to the application workspace (desktop pane). |
protected void |
closeApplication()
Invoked when application is going to closes. |
protected javax.swing.JDesktopPane |
createDesktopPane()
Creates application workspace for internal frames. |
protected javax.swing.JMenuBar |
createMenu()
Create main menu. |
protected javax.swing.JToolBar |
createStandardBar()
Creates standard toolbar. |
protected javax.swing.JLabel |
createStatusBar()
Creates status bar at bottom of application's window. |
protected javax.swing.JComboBox |
createZoomCombo()
Creates zoom combo box. |
protected void |
emptySceneryFrame()
Creates new scenery frame and adds it to the application workspace (desktop pane). |
javax.swing.JDesktopPane |
getDesktopPane()
Gets application desktop workspace. |
java.util.Vector |
getEditorFrames()
Gets scenery collection. |
javax.swing.filechooser.FileFilter |
getFileFilter()
Gets the file filter used in file chooser dialogs. |
javax.swing.JFrame |
getFrame()
Gets a frame of application. |
SceneryFrame |
getTopmostFrame()
Gets topmost scenery frame within the desktop. |
static double |
grid(double d)
Converts full double resolution to double with 3 fractional digits. |
protected void |
installActions()
Registers all actions. |
protected void |
installListeners()
Installs all listeners. |
static void |
main(java.lang.String[] args)
Entry point to the application. |
protected void |
openSceneryFrame(java.io.File file)
Creates scenery frame with file and adds it to the application workspace. |
void |
removeSceneryFrame(SceneryFrame sf)
Removes scenery frame from application workspace (desktop pane). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Configuration config
Constructor Detail |
public Jet()
Method Detail |
public static void main(java.lang.String[] args)
args
- Command line.public static double grid(double d)
d
- Double to convert.
protected javax.swing.JMenuBar createMenu()
protected javax.swing.JToolBar createStandardBar()
protected javax.swing.JComboBox createZoomCombo()
protected javax.swing.JDesktopPane createDesktopPane()
protected javax.swing.JLabel createStatusBar()
public javax.swing.JFrame getFrame()
public void addSceneryFrame(SceneryFrame sf)
sf
- Scenery frame to add.public void removeSceneryFrame(SceneryFrame sf)
sf
- Removing scenery frame.protected void emptySceneryFrame()
protected void openSceneryFrame(java.io.File file)
file
- Open file.public java.util.Vector getEditorFrames()
public javax.swing.JDesktopPane getDesktopPane()
protected void closeApplication()
public javax.swing.filechooser.FileFilter getFileFilter()
jET uses following pattern: *.sc*
.
protected void installActions()
protected void installListeners()
public SceneryFrame getTopmostFrame()
null
if there is no
scenery frames at now.
|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |