de.hillenbrand.jedi.editor
Class JediEditorFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by de.hillenbrand.swing.HFrame
                          extended by de.hillenbrand.jedi.editor.JediEditorFrame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class JediEditorFrame
extends de.hillenbrand.swing.HFrame

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int TAB_CLASS_ANNOTATIONS
           
static int TAB_CLASS_JAVADOC
           
static int TAB_CLASS_VARIABLES
           
static int TAB_EXCEPTIONS
           
static int TAB_LOG4J
           
static int TAB_METHOD_ANNOTATIONS
           
static int TAB_METHOD_BODY
           
static int TAB_METHOD_JAVADOC
           
static int TAB_PACKAGE_ICONS
           
static int TAB_PACKAGE_JAVADOC
           
static int TAB_PACKAGE_RESOURCES
           
 
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
 
Constructor Summary
JediEditorFrame()
           
 
Method Summary
 void addClassListener(ClassListener cl)
           
 void addException(java.lang.String exception, java.lang.String atLine)
          Adds an exception to the exception tab.
 void addIcon(java.io.File iconFile)
           
 void addIcons(java.io.File[] iconFiles)
           
 JediMethod addMethod(java.lang.String name)
           
 void addMethodListener(MethodListener ml)
           
 void addPackageListener(PackageListener pl)
           
 void addPluginActions()
           
 void addProjectListener(ProjectListener pl)
           
 void classModified(JediClass c)
           
 void clearExceptions()
          Removes all exceptions from the exception panel.
 JediClass getCurrentClass()
           
 JediMethod getCurrentMethod()
           
 JediPackage getCurrentPackage()
           
 de.hillenbrand.swing.HEditorPane getEditor_ClassAnnotations()
           
 de.hillenbrand.swing.HEditorPane getEditor_ClassJavaDoc()
           
 de.hillenbrand.swing.HEditorPane getEditor_ClassVariables()
           
 de.hillenbrand.swing.HEditorPane getEditor_MethodAnnotations()
           
 de.hillenbrand.swing.HEditorPane getEditor_MethodBody()
           
 de.hillenbrand.swing.HEditorPane getEditor_MethodJavaDoc()
           
 de.hillenbrand.swing.HEditorPane getEditor_PackageResources()
           
 de.hillenbrand.swing.HComboBox getEditor_PackageSelectResource()
           
 de.hillenbrand.swing.HJavaEditorPane getEditor()
           
 javax.swing.text.EditorKit getEditorKit()
           
 javax.swing.JMenu getPluginMenu()
           
 JediProject getProject()
           
 JediClass[] getSelectedClasses()
          Returns an array of all currently selected classes.
 JediMethod[] getSelectedMethods()
          Returns an array of all currently selected methods.
 JediPackage[] getSelectedPackages()
          Returns an array of all currently selected packages.
 de.hillenbrand.swing.HToolBar getToolBar()
           
 JediClass makeNewAnnotation(java.lang.String name, JediClass copyfrom)
           
 JediClass makeNewClass(java.lang.String name, JediClass copyfrom)
           
 JediMethod makeNewConstructor(JediMethod copyfrom)
           
 JediClass makeNewEnumeration(java.lang.String name, JediClass copyfrom)
           
 JediClass makeNewInnerClass(JediClass parent, java.lang.String name)
           
 JediClass makeNewInnerEnumeration(JediClass parent, java.lang.String name)
           
 JediClass makeNewInnerInterface(JediClass parent, java.lang.String name)
           
 JediMethod makeNewInstanceInitializer(JediMethod copyfrom)
           
 JediClass makeNewInterface(java.lang.String name, JediClass copyfrom)
           
 JediMethod makeNewMethod(java.lang.String name, JediMethod copyfrom)
           
 JediPackage makeNewPackage(java.lang.String name, JediPackage copyfrom)
           
 JediMethod makeNewStaticInitializer(JediMethod copyfrom)
           
 void methodModified(JediMethod m)
           
 void refreshMethod(JediMethod m)
           
 void refreshProject()
           
 void setClass(JediClass c)
           
 void setCompileError(CompileError err)
           
 void setMethod(JediMethod m)
           
 void setPackage(JediPackage p)
           
 void setProject(JediProject p)
           
 void toFront(int index)
           
 
Methods inherited from class de.hillenbrand.swing.HFrame
centerOnScreen, setVisible
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
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

TAB_PACKAGE_RESOURCES

public static final int TAB_PACKAGE_RESOURCES
See Also:
Constant Field Values

TAB_PACKAGE_ICONS

public static final int TAB_PACKAGE_ICONS
See Also:
Constant Field Values

TAB_PACKAGE_JAVADOC

public static final int TAB_PACKAGE_JAVADOC
See Also:
Constant Field Values

TAB_CLASS_VARIABLES

public static final int TAB_CLASS_VARIABLES
See Also:
Constant Field Values

TAB_CLASS_JAVADOC

public static final int TAB_CLASS_JAVADOC
See Also:
Constant Field Values

TAB_METHOD_BODY

public static final int TAB_METHOD_BODY
See Also:
Constant Field Values

TAB_METHOD_JAVADOC

public static final int TAB_METHOD_JAVADOC
See Also:
Constant Field Values

TAB_EXCEPTIONS

public static final int TAB_EXCEPTIONS
See Also:
Constant Field Values

TAB_LOG4J

public static final int TAB_LOG4J
See Also:
Constant Field Values

TAB_METHOD_ANNOTATIONS

public static final int TAB_METHOD_ANNOTATIONS
See Also:
Constant Field Values

TAB_CLASS_ANNOTATIONS

public static final int TAB_CLASS_ANNOTATIONS
See Also:
Constant Field Values
Constructor Detail

JediEditorFrame

public JediEditorFrame()
Method Detail

addClassListener

public void addClassListener(ClassListener cl)

addException

public void addException(java.lang.String exception,
                         java.lang.String atLine)
Adds an exception to the exception tab. If exception is null, then the "at"-Line will be appended to the last known exception.


addIcon

public void addIcon(java.io.File iconFile)

addIcons

public void addIcons(java.io.File[] iconFiles)

addMethod

public JediMethod addMethod(java.lang.String name)

addMethodListener

public void addMethodListener(MethodListener ml)

addPackageListener

public void addPackageListener(PackageListener pl)

addPluginActions

public void addPluginActions()

addProjectListener

public void addProjectListener(ProjectListener pl)

classModified

public void classModified(JediClass c)

clearExceptions

public void clearExceptions()
Removes all exceptions from the exception panel.


getCurrentClass

public JediClass getCurrentClass()

getCurrentMethod

public JediMethod getCurrentMethod()

getCurrentPackage

public JediPackage getCurrentPackage()

getEditor

public de.hillenbrand.swing.HJavaEditorPane getEditor()

getEditorKit

public javax.swing.text.EditorKit getEditorKit()

getEditor_ClassAnnotations

public de.hillenbrand.swing.HEditorPane getEditor_ClassAnnotations()

getEditor_ClassJavaDoc

public de.hillenbrand.swing.HEditorPane getEditor_ClassJavaDoc()

getEditor_ClassVariables

public de.hillenbrand.swing.HEditorPane getEditor_ClassVariables()

getEditor_MethodAnnotations

public de.hillenbrand.swing.HEditorPane getEditor_MethodAnnotations()

getEditor_MethodBody

public de.hillenbrand.swing.HEditorPane getEditor_MethodBody()

getEditor_MethodJavaDoc

public de.hillenbrand.swing.HEditorPane getEditor_MethodJavaDoc()

getEditor_PackageResources

public de.hillenbrand.swing.HEditorPane getEditor_PackageResources()

getEditor_PackageSelectResource

public de.hillenbrand.swing.HComboBox getEditor_PackageSelectResource()

getPluginMenu

public javax.swing.JMenu getPluginMenu()

getProject

public JediProject getProject()

getSelectedClasses

public JediClass[] getSelectedClasses()
Returns an array of all currently selected classes.


getSelectedMethods

public JediMethod[] getSelectedMethods()
Returns an array of all currently selected methods.


getSelectedPackages

public JediPackage[] getSelectedPackages()
Returns an array of all currently selected packages.


getToolBar

public de.hillenbrand.swing.HToolBar getToolBar()

makeNewAnnotation

public JediClass makeNewAnnotation(java.lang.String name,
                                   JediClass copyfrom)

makeNewClass

public JediClass makeNewClass(java.lang.String name,
                              JediClass copyfrom)

makeNewConstructor

public JediMethod makeNewConstructor(JediMethod copyfrom)

makeNewEnumeration

public JediClass makeNewEnumeration(java.lang.String name,
                                    JediClass copyfrom)

makeNewInnerClass

public JediClass makeNewInnerClass(JediClass parent,
                                   java.lang.String name)

makeNewInnerEnumeration

public JediClass makeNewInnerEnumeration(JediClass parent,
                                         java.lang.String name)

makeNewInnerInterface

public JediClass makeNewInnerInterface(JediClass parent,
                                       java.lang.String name)

makeNewInstanceInitializer

public JediMethod makeNewInstanceInitializer(JediMethod copyfrom)

makeNewInterface

public JediClass makeNewInterface(java.lang.String name,
                                  JediClass copyfrom)

makeNewMethod

public JediMethod makeNewMethod(java.lang.String name,
                                JediMethod copyfrom)

makeNewPackage

public JediPackage makeNewPackage(java.lang.String name,
                                  JediPackage copyfrom)

makeNewStaticInitializer

public JediMethod makeNewStaticInitializer(JediMethod copyfrom)

methodModified

public void methodModified(JediMethod m)

refreshMethod

public void refreshMethod(JediMethod m)

refreshProject

public void refreshProject()

setClass

public void setClass(JediClass c)

setCompileError

public void setCompileError(CompileError err)

setMethod

public void setMethod(JediMethod m)

setPackage

public void setPackage(JediPackage p)

setProject

public void setProject(JediProject p)

toFront

public void toFront(int index)