edu.udo.cs.miningmart.gui.figures
Class ConceptFigure

java.lang.Object
  extended byorg.jhotdraw.standard.AbstractFigure
      extended byorg.jhotdraw.standard.CompositeFigure
          extended byorg.jhotdraw.contrib.GraphicalCompositeFigure
              extended byorg.musoft.limo.drawing.ModelFigure
                  extended byedu.udo.cs.miningmart.gui.figures.ConceptFigure
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, org.jhotdraw.framework.Figure, org.jhotdraw.framework.FigureChangeListener, java.awt.image.ImageObserver, org.jhotdraw.contrib.Layoutable, org.musoft.limo.model.ModelListener, java.io.Serializable, org.jhotdraw.util.Storable

public class ConceptFigure
extends org.musoft.limo.drawing.ModelFigure
implements java.awt.image.ImageObserver

A ModelFigure for the MiningMartConcept.

Version:
$Id: ConceptFigure.java,v 1.3 2006/04/11 14:10:17 euler Exp $
Author:
Daniel Hakenjos
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.musoft.limo.drawing.ModelFigure
LABEL_CENTER, LABEL_EAST, LABEL_HIDDEN, LABEL_INSIDE, LABEL_NORTH, LABEL_OUTSIDE, LABEL_SOUTH, LABEL_WEST, labelFigure
 
Fields inherited from class org.jhotdraw.standard.CompositeFigure
_nHighestZ, _nLowestZ, fFigures
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Fields inherited from interface org.jhotdraw.framework.Figure
POPUP_MENU
 
Constructor Summary
ConceptFigure(org.musoft.limo.model.ModelFigureElement element, org.musoft.limo.drawing.ModelDrawing drawing)
          Constructs new ConceptFigure.
 
Method Summary
 void deSelected()
          Modifiziert die Darstellung des Statchartfigurs so, dass es inaktive erscheint.
 void draw(java.awt.Graphics g)
           
 MiningMartConcept getMiningMartConcept()
          Gets the MiningMartConcept.
 boolean imageUpdate(java.awt.Image img, int flags, int x, int y, int width, int height)
           
 void isSelected()
          Modifiziert die Darstellung des Statchartfigurs so, dass es aktive erscheint.
 void moveBy(int dx, int dy)
           
 void onSetName(org.musoft.limo.model.ModelElement sender)
          Setzt den Namen der Figure in das Label der Figure.
 
Methods inherited from class org.musoft.limo.drawing.ModelFigure
addToContainer, basicDisplayBox, bringToFront, createConnector, displayBox, getDecoration, getDrawing, getElement, getLabel, getLabelColor, getLabelFigure, getLabelPosition, getMoveable, getSizeable, handles, initialize, onAddAssociate, onAddChild, onCreateChild, onCreateConnection, onDestroy, onRemoveAssociate, onRemoveChild, onSetAttribute, onSetAttribute, onSetBounds, onSetConnectionEnd, onSetConnectionPoints, onSetConnectionStart, onSetDirty, onSetParent, onSetPosition, setDecoration, setLabel, setLabelColor, setLabelPosition, setMoveable, setPresentationFigure, setSizeable
 
Methods inherited from class org.jhotdraw.contrib.GraphicalCompositeFigure
basicMoveBy, change, clone, displayBox, figureRequestRemove, getAttribute, getAttribute, getLayouter, getPresentationFigure, layout, read, setAttribute, setAttribute, setLayouter, update, write
 
Methods inherited from class org.jhotdraw.standard.CompositeFigure
add, addAll, addAll, bringToFront, containsFigure, draw, figureAt, figureChanged, figureCount, figureInvalidated, figureRemoved, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, release, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer
 
Methods inherited from class org.jhotdraw.standard.AbstractFigure
addDependendFigure, addFigureChangeListener, canConnect, center, changed, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, invalidate, invalidateRectangle, isEmpty, listener, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.framework.Figure
addDependendFigure, addFigureChangeListener, canConnect, center, changed, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, isEmpty, listener, release, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange
 

Constructor Detail

ConceptFigure

public ConceptFigure(org.musoft.limo.model.ModelFigureElement element,
                     org.musoft.limo.drawing.ModelDrawing drawing)
Constructs new ConceptFigure.

Method Detail

onSetName

public void onSetName(org.musoft.limo.model.ModelElement sender)
Setzt den Namen der Figure in das Label der Figure. Ob der Name angezeigt wird oder nicht, wird durch die Figure selber entschieden.

Specified by:
onSetName in interface org.musoft.limo.model.ModelListener

isSelected

public void isSelected()
Modifiziert die Darstellung des Statchartfigurs so, dass es aktive erscheint.


deSelected

public void deSelected()
Modifiziert die Darstellung des Statchartfigurs so, dass es inaktive erscheint.


getMiningMartConcept

public MiningMartConcept getMiningMartConcept()
Gets the MiningMartConcept.


moveBy

public void moveBy(int dx,
                   int dy)
Specified by:
moveBy in interface org.jhotdraw.framework.Figure

draw

public void draw(java.awt.Graphics g)
Specified by:
draw in interface org.jhotdraw.framework.Figure

imageUpdate

public boolean imageUpdate(java.awt.Image img,
                           int flags,
                           int x,
                           int y,
                           int width,
                           int height)
Specified by:
imageUpdate in interface java.awt.image.ImageObserver


Copyright © 2001-2005