Synergy Home Page

au.edu.swin.synergy.plugin.modeller
Class BModelEditor

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--au.edu.swin.synergy.plugin.modeller.BModelEditor

public class BModelEditor
extends JPanel
implements BWindowListener

See Also:
Serialized Form

Inner Class Summary
 class BModelEditor.BRegisterUndoCC
          This will be used when the register undo is complete for this model
 
Inner classes inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
BModelEditor(BViewport viewport)
           
 
Method Summary
 BModelEditor.BRegisterUndoCC getRegisterUndoCC()
          Returns an register undo command complete object to be used with the dispatch event method.
 BViewport getViewport()
          Returns the viewport being dispalyed on the editor
 void windowActivated(BWindowEvent windowEvent)
          Invoked when the window is set to be the user's active window, which means the window (or one of its subcomponents) will receive keyboard events.
 void windowClosed(BWindowEvent windowEvent)
          Invoked when a window has been closed as the result of calling dispose on the window.
 void windowClosing(BWindowEvent windowEvent)
          Invoked when the user attempts to close the window from the window's system menu.
 void windowDeactivated(BWindowEvent windowEvent)
          Invoked when a window is no longer the user's active window, which means that keyboard events will no longer be delivered to the window or its subcomponents.
 void windowDeiconified(BWindowEvent windowEvent)
          Invoked when a window is changed from a minimized to a normal state.
 void windowIconified(BWindowEvent windowEvent)
          Invoked when a window is changed from a normal to a minimized state.
 void windowOpened(BWindowEvent windowEvent)
          Invoked the first time a window is made visible.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BModelEditor

public BModelEditor(BViewport viewport)
Method Detail

getViewport

public BViewport getViewport()
Returns the viewport being dispalyed on the editor

windowOpened

public void windowOpened(BWindowEvent windowEvent)
Invoked the first time a window is made visible.
Specified by:
windowOpened in interface BWindowListener

windowClosing

public void windowClosing(BWindowEvent windowEvent)
Invoked when the user attempts to close the window from the window's system menu. If the program does not explicitly hide or dispose the window while processing this event, the window close operation will be cancelled.
Specified by:
windowClosing in interface BWindowListener

windowClosed

public void windowClosed(BWindowEvent windowEvent)
Invoked when a window has been closed as the result of calling dispose on the window.
Specified by:
windowClosed in interface BWindowListener

windowIconified

public void windowIconified(BWindowEvent windowEvent)
Invoked when a window is changed from a normal to a minimized state. For many platforms, a minimized window is displayed as the icon specified in the window's iconImage property.
Specified by:
windowIconified in interface BWindowListener

windowDeiconified

public void windowDeiconified(BWindowEvent windowEvent)
Invoked when a window is changed from a minimized to a normal state.
Specified by:
windowDeiconified in interface BWindowListener

windowActivated

public void windowActivated(BWindowEvent windowEvent)
Invoked when the window is set to be the user's active window, which means the window (or one of its subcomponents) will receive keyboard events.
Specified by:
windowActivated in interface BWindowListener

windowDeactivated

public void windowDeactivated(BWindowEvent windowEvent)
Invoked when a window is no longer the user's active window, which means that keyboard events will no longer be delivered to the window or its subcomponents.
Specified by:
windowDeactivated in interface BWindowListener

getRegisterUndoCC

public BModelEditor.BRegisterUndoCC getRegisterUndoCC()
Returns an register undo command complete object to be used with the dispatch event method.
Returns:
A command complete object

Synergy Home Page