|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame com.depthexplorer.ui.DEDocument
public class DEDocument
Nested Class Summary | |
---|---|
protected class |
DEDocument.MyUndoableEditListener
|
(package private) class |
DEDocument.RedoAction
|
(package private) class |
DEDocument.UndoAction
|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) HashMap<Object,Action> |
actions
|
(package private) DECanvas |
canvas
|
(package private) boolean |
checkDirty
|
(package private) File |
currentFile
|
(package private) String |
data
|
(package private) boolean |
dirty
|
(package private) Document |
doc
|
(package private) String |
documentName
|
(package private) JTextArea |
editor
|
(package private) JMenu |
fileMenu
|
(package private) static int |
lastWindowX
|
(package private) static int |
lastWindowY
|
(package private) JMenuBar |
menuBar
|
(package private) JLabel |
parseErrorLbl
|
protected DEDocument.RedoAction |
redoAction
|
(package private) JToolBar |
renderBar
|
(package private) JButton |
renderBtn
|
(package private) RTNRoot |
root
|
(package private) JMenuItem |
saveMenuItem
|
(package private) JScrollPane |
scroller
|
(package private) JLabel |
statusLbl
|
protected UndoManager |
undo
|
protected DEDocument.UndoAction |
undoAction
|
(package private) static int |
untitledNo
|
(package private) JMenu |
windowMenu
|
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
---|---|
void |
changedUpdate(DocumentEvent arg0)
|
static void |
createDEDocument()
|
static void |
createDEDocumentWithContent(String content)
|
File |
getFile()
|
String |
getTitle()
|
void |
insertUpdate(DocumentEvent arg0)
|
(package private) static String |
load(File file)
|
void |
rebuildFileMenu()
|
void |
rebuildWindowMenu()
|
void |
removeUpdate(DocumentEvent arg0)
|
void |
render()
|
void |
setContent(String content)
|
static boolean |
tryOpenDocument(File file)
|
void |
viewGPL()
|
void |
windowActivated(WindowEvent arg0)
|
void |
windowClosed(WindowEvent arg0)
|
void |
windowClosing(WindowEvent arg0)
|
void |
windowDeactivated(WindowEvent arg0)
|
void |
windowDeiconified(WindowEvent arg0)
|
void |
windowIconified(WindowEvent arg0)
|
void |
windowOpened(WindowEvent arg0)
|
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
static int lastWindowX
static int lastWindowY
static int untitledNo
RTNRoot root
Document doc
DECanvas canvas
String data
JTextArea editor
JToolBar renderBar
JMenuBar menuBar
JButton renderBtn
JLabel statusLbl
JLabel parseErrorLbl
JScrollPane scroller
JMenu fileMenu
JMenu windowMenu
JMenuItem saveMenuItem
String documentName
HashMap<Object,Action> actions
protected DEDocument.UndoAction undoAction
protected DEDocument.RedoAction redoAction
protected UndoManager undo
File currentFile
boolean dirty
boolean checkDirty
Method Detail |
---|
public static boolean tryOpenDocument(File file)
public String getTitle()
getTitle
in class Frame
public File getFile()
public void rebuildFileMenu()
public void rebuildWindowMenu()
static String load(File file)
public void render()
public void changedUpdate(DocumentEvent arg0)
changedUpdate
in interface DocumentListener
public void insertUpdate(DocumentEvent arg0)
insertUpdate
in interface DocumentListener
public void removeUpdate(DocumentEvent arg0)
removeUpdate
in interface DocumentListener
public void setContent(String content)
public static void createDEDocument()
public static void createDEDocumentWithContent(String content)
public void windowActivated(WindowEvent arg0)
windowActivated
in interface WindowListener
public void windowClosed(WindowEvent arg0)
windowClosed
in interface WindowListener
public void windowClosing(WindowEvent arg0)
windowClosing
in interface WindowListener
public void windowDeactivated(WindowEvent arg0)
windowDeactivated
in interface WindowListener
public void windowDeiconified(WindowEvent arg0)
windowDeiconified
in interface WindowListener
public void windowIconified(WindowEvent arg0)
windowIconified
in interface WindowListener
public void windowOpened(WindowEvent arg0)
windowOpened
in interface WindowListener
public void viewGPL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |