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

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

public class FeatureFigure
extends org.musoft.limo.drawing.ModelFigure

Version:
$Id: FeatureFigure.java,v 1.4 2006/09/27 15:00:03 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
 
Constructor Summary
FeatureFigure(MiningMartBaseAttribute element, org.musoft.limo.drawing.ModelDrawing drawing)
          Constructor for FeatureFigure.
FeatureFigure(MiningMartMultiColumnFeature element, org.musoft.limo.drawing.ModelDrawing drawing)
          Constructor for FeatureFigure.
 
Method Summary
 void draw(java.awt.Graphics g)
           
 MiningMartBaseAttribute getMiningMartBaseAttribute()
          Gets the MiningMartBaseAttribute.
 MiningMartMultiColumnFeature getMiningMartMultiColumnFeature()
          Gets the MiningMartMultiColumnFeature.
 void moveBy(int dx, int dy)
           
 void onSetName(org.musoft.limo.model.ModelElement sender)
          Sets the name of the label.
 
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

FeatureFigure

public FeatureFigure(MiningMartBaseAttribute element,
                     org.musoft.limo.drawing.ModelDrawing drawing)
Constructor for FeatureFigure.


FeatureFigure

public FeatureFigure(MiningMartMultiColumnFeature element,
                     org.musoft.limo.drawing.ModelDrawing drawing)
Constructor for FeatureFigure.

Method Detail

getMiningMartBaseAttribute

public MiningMartBaseAttribute getMiningMartBaseAttribute()
Gets the MiningMartBaseAttribute.


getMiningMartMultiColumnFeature

public MiningMartMultiColumnFeature getMiningMartMultiColumnFeature()
Gets the MiningMartMultiColumnFeature.


onSetName

public void onSetName(org.musoft.limo.model.ModelElement sender)
Sets the name of the label.

Specified by:
onSetName in interface org.musoft.limo.model.ModelListener
Overrides:
onSetName in class org.musoft.limo.drawing.ModelFigure

moveBy

public void moveBy(int dx,
                   int dy)
Specified by:
moveBy in interface org.jhotdraw.framework.Figure
Overrides:
moveBy in class org.musoft.limo.drawing.ModelFigure

draw

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


Copyright © 2001-2005