ucar.unidata.ui.drawing
Class EditCanvas

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by ucar.unidata.ui.drawing.DisplayCanvas
                      extended by ucar.unidata.ui.drawing.EditCanvas
All Implemented Interfaces:
ActionListener, FocusListener, KeyListener, MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
StationModelCanvas, TestCanvas

public class EditCanvas
extends DisplayCanvas
implements MouseListener, MouseMotionListener, ActionListener, FocusListener, KeyListener

See Also:
Serialized Form

Nested Class Summary
static class EditCanvas.ShapeDescriptor
          Class ShapeDescriptor _more_
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
static String CMD_ALIGN_BOTTOM
          _more_
static String CMD_ALIGN_CENTER
          _more_
static String CMD_ALIGN_LEFT
          _more_
static String CMD_ALIGN_MIDDLE
          _more_
static String CMD_ALIGN_PREFIX
          _more_
static String CMD_ALIGN_RIGHT
          _more_
static String CMD_ALIGN_TOP
          _more_
static String CMD_EDIT_COPY
          _more_
static String CMD_EDIT_CUT
          _more_
static String CMD_EDIT_GROUP
          _more_
static String CMD_EDIT_PASTE
          _more_
static String CMD_EDIT_SELECTALL
          _more_
static String CMD_EDIT_TOBACK
          _more_
static String CMD_EDIT_TOFRONT
          _more_
static String CMD_EDIT_UNGROUP
          _more_
static String CMD_SNAP
           
static String CMD_SPACE_H
           
static String CMD_SPACE_V
           
static String CMD_ZOOMIN
          _more_
static String CMD_ZOOMOUT
          _more_
static String CMD_ZOOMRESET
          _more_
 
Fields inherited from class ucar.unidata.ui.drawing.DisplayCanvas
canvasBg, CMD_CHANGE, CMD_CREATE, CMD_MOVE, CMD_REMOVE, CMD_TOBACK, CMD_TOFRONT, DEFAULT_CURSOR, glyphs, gridSpacing, HAND_CURSOR, highlightedGlyph, MOVE_CURSOR, NW_CURSOR, scaleFactor, showGrid, TEXT_CURSOR
 
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
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
EditCanvas()
          _more_
 
Method Summary
 void actionPerformed(ActionEvent event)
          _more_
 List cloneGlyphs(List from)
          _more_
 void doAlign(String cmd)
          Align the set of selected glyphs with the given command (e.g., align.top, align.bottom, etc.)
 void doCopy()
          _more_
 void doCut()
          _more_
protected  void doDoubleClick(Glyph nearestGlyph)
          _more_
 boolean doGroup()
           
protected  Component doMakeContents()
          _more_
 List doMakeMenuItems(Glyph g, List l)
          /** _more_
 Component doMakePalette()
          Create the Glyph creation palette
 JToolBar doMakeToolbar(JToolBar toolbar)
          _more_
 void doPaste()
          _more_
 void doPaste(List l, int x, int y)
          Paste the given vector of glyphs.
 void doToBack()
          _more_
 void doToFront()
          _more_
protected  void doZoomIn()
          zoom in
protected  void doZoomOut()
          zoom out
 void focusGained(FocusEvent e)
          _more_
 void focusLost(FocusEvent e)
          _more_
 boolean getHaveChanged()
          _more_
protected  JComponent getLabelComponent()
          _more_
 JMenuBar getMenuBar()
          _more_
 List getShapeDescriptors()
          _more_
 void group()
          _more_
 boolean haveCommand()
          _more_
 void initMenuBar(JMenuBar menuBar)
          _more_
 void keyPressed(KeyEvent evt)
          _more_
 void keyReleased(KeyEvent e)
          _more_
 void keyTyped(KeyEvent evt)
          _more_
 void loadXml(Element root)
          _more_
 EditCanvas.ShapeDescriptor makeDescriptor(String className, String name, String iconName, String attrs)
          _more_
 JMenu makeEditMenu()
          _more_
 JMenu makeEditMenu(JMenu editMenu)
          _more_
protected  JMenuItem makeMenuItem(String label, char mnem, String command)
          _more_
protected  JMenuItem makeMenuItem(String label, String command)
          _more_
protected  JMenuItem makeSelectionMenuItem(String label, char mnem, String command, boolean enabled)
          _more_
 JMenu makeViewMenu()
          _more_
 JMenu makeViewMenu(JMenu viewMenu)
          _more_
 void mouseClicked(MouseEvent event)
          Handle mouse click events.
 void mouseDragged(MouseEvent e)
          _more_
 void mouseEntered(MouseEvent e)
          Handle mouse entered events.
 void mouseExited(MouseEvent e)
          Handle mouse exited events.
 void mouseMoved(MouseEvent e)
          Handle mouse moved events.
 void mousePressed(MouseEvent e)
          _more_
 boolean mousePressedInner(MouseEvent e)
          _more_
 void mouseReleased(MouseEvent e)
          _more_
 void notifyGlyphChanged(Glyph theGlyph, String attr)
          _more_
 void notifyGlyphChangeDone(Glyph theGlyph, String attr)
          _more_
 void notifyGlyphCreateComplete(Glyph g, boolean diddleSelection, boolean fromPaste)
          _more_
 void notifyGlyphMoveComplete(Glyph theGlyph)
          _more_
 void notifyGlyphMoved(Glyph theGlyph)
          We have these hooks here so that derived classes can do things based on glyph events (e.g., tell the whiteboard server that a Glyph moved
 boolean okToPaintHighlight()
          _more_
 void paint(Graphics g)
          Called from the base class.
 void selectAll()
          _more_
 void selectionChanged()
          _more_
 void setColor(Glyph g, boolean foreground)
          Set the color of the glyph from a color chooser dialog.
 void setColor(Glyph g, boolean foreground, Color newColor)
          Set the color of the glyph from a color chooser dialog.
 void setCommand(CanvasCommand newCommand)
          _more_
 void setDefaultCursor()
          _more_
 void setHaveChanged(boolean v)
          _more_
 boolean showTextInPalette()
          _more_
 void snapToGrid()
           
 void spaceH()
           
 void spaceV()
           
 void togglePressed(JToggleButton pressed)
          _more_
 void unGroup()
          _more_
 
Methods inherited from class ucar.unidata.ui.drawing.DisplayCanvas
addGlyph, addSelection, clearAll, clearSelection, createGlyph, decreaseGridSpacing, doRemove, findGlyph, findGlyph, findGlyph, getContents, getGlyphs, getImage, getSelection, getShowGrid, glyphChanged, hasSelection, increaseGridSpacing, isFocusTraversable, isSelected, justRemoveGlyph, moveToBack, moveToFront, notifyGlyphCreateComplete, paintGrid, removeGlyph, removeSelection, repaint, select, setCanvasBackground, setGlyphs, setHighlight, setShowGrid, snap, transformInput, transformInput, transformInputX, transformInputY, transformOutput, transformOutput, transformOutputX, transformOutputY
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CMD_ZOOMIN

public static final String CMD_ZOOMIN
_more_

See Also:
Constant Field Values

CMD_ZOOMOUT

public static final String CMD_ZOOMOUT
_more_

See Also:
Constant Field Values

CMD_ZOOMRESET

public static final String CMD_ZOOMRESET
_more_

See Also:
Constant Field Values

CMD_EDIT_CUT

public static final String CMD_EDIT_CUT
_more_

See Also:
Constant Field Values

CMD_EDIT_COPY

public static final String CMD_EDIT_COPY
_more_

See Also:
Constant Field Values

CMD_EDIT_PASTE

public static final String CMD_EDIT_PASTE
_more_

See Also:
Constant Field Values

CMD_EDIT_SELECTALL

public static final String CMD_EDIT_SELECTALL
_more_

See Also:
Constant Field Values

CMD_EDIT_GROUP

public static final String CMD_EDIT_GROUP
_more_

See Also:
Constant Field Values

CMD_EDIT_UNGROUP

public static final String CMD_EDIT_UNGROUP
_more_

See Also:
Constant Field Values

CMD_EDIT_TOFRONT

public static final String CMD_EDIT_TOFRONT
_more_

See Also:
Constant Field Values

CMD_EDIT_TOBACK

public static final String CMD_EDIT_TOBACK
_more_

See Also:
Constant Field Values

CMD_ALIGN_PREFIX

public static final String CMD_ALIGN_PREFIX
_more_

See Also:
Constant Field Values

CMD_ALIGN_TOP

public static final String CMD_ALIGN_TOP
_more_

See Also:
Constant Field Values

CMD_ALIGN_CENTER

public static final String CMD_ALIGN_CENTER
_more_

See Also:
Constant Field Values

CMD_ALIGN_BOTTOM

public static final String CMD_ALIGN_BOTTOM
_more_

See Also:
Constant Field Values

CMD_ALIGN_LEFT

public static final String CMD_ALIGN_LEFT
_more_

See Also:
Constant Field Values

CMD_ALIGN_MIDDLE

public static final String CMD_ALIGN_MIDDLE
_more_

See Also:
Constant Field Values

CMD_ALIGN_RIGHT

public static final String CMD_ALIGN_RIGHT
_more_

See Also:
Constant Field Values

CMD_SPACE_H

public static final String CMD_SPACE_H
See Also:
Constant Field Values

CMD_SPACE_V

public static final String CMD_SPACE_V
See Also:
Constant Field Values

CMD_SNAP

public static final String CMD_SNAP
See Also:
Constant Field Values
Constructor Detail

EditCanvas

public EditCanvas()
_more_

Method Detail

setDefaultCursor

public void setDefaultCursor()
_more_


okToPaintHighlight

public boolean okToPaintHighlight()
_more_

Returns:
_more_

paint

public void paint(Graphics g)
Called from the base class. It calls the parent to paint the list of Glyphs and then it tells any highlighted glyph to paint. And then it tells the currentCommand to paint.

Overrides:
paint in class DisplayCanvas
Parameters:
g -

haveCommand

public boolean haveCommand()
_more_

Returns:
_more_

getHaveChanged

public boolean getHaveChanged()
_more_

Returns:
_more_

setHaveChanged

public void setHaveChanged(boolean v)
_more_

Parameters:
v -

setCommand

public void setCommand(CanvasCommand newCommand)
_more_

Parameters:
newCommand -

notifyGlyphMoved

public void notifyGlyphMoved(Glyph theGlyph)
We have these hooks here so that derived classes can do things based on glyph events (e.g., tell the whiteboard server that a Glyph moved

Overrides:
notifyGlyphMoved in class DisplayCanvas
Parameters:
theGlyph -

notifyGlyphMoveComplete

public void notifyGlyphMoveComplete(Glyph theGlyph)
_more_

Overrides:
notifyGlyphMoveComplete in class DisplayCanvas
Parameters:
theGlyph -

notifyGlyphChanged

public void notifyGlyphChanged(Glyph theGlyph,
                               String attr)
_more_

Parameters:
theGlyph -
attr -

notifyGlyphChangeDone

public void notifyGlyphChangeDone(Glyph theGlyph,
                                  String attr)
_more_

Parameters:
theGlyph -
attr -

notifyGlyphCreateComplete

public void notifyGlyphCreateComplete(Glyph g,
                                      boolean diddleSelection,
                                      boolean fromPaste)
_more_

Overrides:
notifyGlyphCreateComplete in class DisplayCanvas
Parameters:
g -
diddleSelection -
fromPaste -

focusGained

public void focusGained(FocusEvent e)
_more_

Specified by:
focusGained in interface FocusListener
Parameters:
e -

focusLost

public void focusLost(FocusEvent e)
_more_

Specified by:
focusLost in interface FocusListener
Parameters:
e -

keyReleased

public void keyReleased(KeyEvent e)
_more_

Specified by:
keyReleased in interface KeyListener
Parameters:
e -

keyTyped

public void keyTyped(KeyEvent evt)
_more_

Specified by:
keyTyped in interface KeyListener
Parameters:
evt -

keyPressed

public void keyPressed(KeyEvent evt)
_more_

Specified by:
keyPressed in interface KeyListener
Parameters:
evt -

makeSelectionMenuItem

protected JMenuItem makeSelectionMenuItem(String label,
                                          char mnem,
                                          String command,
                                          boolean enabled)
_more_

Parameters:
label -
mnem -
command -
enabled -
Returns:
_more_

makeMenuItem

protected JMenuItem makeMenuItem(String label,
                                 char mnem,
                                 String command)
_more_

Parameters:
label -
mnem -
command -
Returns:
_more_

makeMenuItem

protected JMenuItem makeMenuItem(String label,
                                 String command)
_more_

Parameters:
label -
command -
Returns:
_more_

makeEditMenu

public JMenu makeEditMenu()
_more_

Returns:
_more_

makeViewMenu

public JMenu makeViewMenu()
_more_

Returns:
_more_

selectionChanged

public void selectionChanged()
_more_

Overrides:
selectionChanged in class DisplayCanvas

makeEditMenu

public JMenu makeEditMenu(JMenu editMenu)
_more_

Parameters:
editMenu -
Returns:
_more_

makeViewMenu

public JMenu makeViewMenu(JMenu viewMenu)
_more_

Parameters:
viewMenu -
Returns:
_more_

doGroup

public boolean doGroup()

doZoomIn

protected void doZoomIn()
zoom in


doZoomOut

protected void doZoomOut()
zoom out


actionPerformed

public void actionPerformed(ActionEvent event)
_more_

Specified by:
actionPerformed in interface ActionListener
Parameters:
event -

group

public void group()
_more_


unGroup

public void unGroup()
_more_


doPaste

public void doPaste(List l,
                    int x,
                    int y)
Paste the given vector of glyphs. We find the upper left point of the set of glyphs to get an offset from the given x,y coords.

Parameters:
l -
x -
y -

doPaste

public void doPaste()
_more_


cloneGlyphs

public List cloneGlyphs(List from)
_more_

Parameters:
from -
Returns:
_more_

doToFront

public void doToFront()
_more_


doToBack

public void doToBack()
_more_


doCopy

public void doCopy()
_more_


doCut

public void doCut()
_more_


selectAll

public void selectAll()
_more_


spaceH

public void spaceH()

spaceV

public void spaceV()

doAlign

public void doAlign(String cmd)
Align the set of selected glyphs with the given command (e.g., align.top, align.bottom, etc.)

Parameters:
cmd -

snapToGrid

public void snapToGrid()

doMakeMenuItems

public List doMakeMenuItems(Glyph g,
                            List l)
/** _more_

Parameters:
g -
l -
Returns:
_more_

setColor

public void setColor(Glyph g,
                     boolean foreground)
Set the color of the glyph from a color chooser dialog.

Parameters:
g - Glyph to color.
foreground - true if the color is for the foreground

setColor

public void setColor(Glyph g,
                     boolean foreground,
                     Color newColor)
Set the color of the glyph from a color chooser dialog.

Parameters:
g - Glyph to color.
foreground - true if the color is for the foreground
newColor - new Color for this Glyph

mouseClicked

public void mouseClicked(MouseEvent event)
Handle mouse click events.

Specified by:
mouseClicked in interface MouseListener
Parameters:
event - MouseEvent

mouseEntered

public void mouseEntered(MouseEvent e)
Handle mouse entered events. NO-OP in this implementation.

Specified by:
mouseEntered in interface MouseListener
Parameters:
e - MouseEvent

mouseExited

public void mouseExited(MouseEvent e)
Handle mouse exited events. NO-OP in this implementation.

Specified by:
mouseExited in interface MouseListener
Parameters:
e - MouseEvent

mouseMoved

public void mouseMoved(MouseEvent e)
Handle mouse moved events.

Specified by:
mouseMoved in interface MouseMotionListener
Parameters:
e - MouseEvent

getShapeDescriptors

public List getShapeDescriptors()
_more_

Returns:
_more_

getMenuBar

public JMenuBar getMenuBar()
_more_

Returns:
_more_

doMakeContents

protected Component doMakeContents()
_more_

Overrides:
doMakeContents in class DisplayCanvas
Returns:
_more_

getLabelComponent

protected JComponent getLabelComponent()
_more_

Returns:
_more_

initMenuBar

public void initMenuBar(JMenuBar menuBar)
_more_

Parameters:
menuBar -

togglePressed

public void togglePressed(JToggleButton pressed)
_more_

Parameters:
pressed -

doMakeToolbar

public JToolBar doMakeToolbar(JToolBar toolbar)
_more_

Parameters:
toolbar -
Returns:
_more_

doMakePalette

public Component doMakePalette()
Create the Glyph creation palette

Returns:
_more_

showTextInPalette

public boolean showTextInPalette()
_more_

Returns:
_more_

mousePressed

public void mousePressed(MouseEvent e)
_more_

Specified by:
mousePressed in interface MouseListener
Parameters:
e -

doDoubleClick

protected void doDoubleClick(Glyph nearestGlyph)
_more_

Parameters:
nearestGlyph - _more_

mousePressedInner

public boolean mousePressedInner(MouseEvent e)
_more_

Parameters:
e -
Returns:
_more_

mouseDragged

public void mouseDragged(MouseEvent e)
_more_

Specified by:
mouseDragged in interface MouseMotionListener
Parameters:
e -

loadXml

public void loadXml(Element root)
_more_

Parameters:
root -

mouseReleased

public void mouseReleased(MouseEvent e)
_more_

Specified by:
mouseReleased in interface MouseListener
Parameters:
e -

makeDescriptor

public EditCanvas.ShapeDescriptor makeDescriptor(String className,
                                                 String name,
                                                 String iconName,
                                                 String attrs)
_more_

Parameters:
className - _more_
name - _more_
iconName - _more_
attrs - _more_
Returns:
_more_