|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.standard.CompositeFigure
org.jhotdraw.contrib.GraphicalCompositeFigure
org.musoft.limo.drawing.ModelFigure
edu.udo.cs.miningmart.gui.figures.StepFigure
public class StepFigure
A ModelFigure for the MiningMartStep.
| Field Summary | |
|---|---|
static boolean |
NO_DIRTYING
|
| 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 |
| Constructor Summary | |
|---|---|
StepFigure(org.musoft.limo.model.ModelFigureElement element,
org.musoft.limo.drawing.ModelDrawing drawing)
Constructs new StepFigure. |
|
| Method Summary | |
|---|---|
void |
basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
|
void |
bringToFront()
|
void |
draw(java.awt.Graphics g)
Draws the image of the StepFigure. |
MiningMartStep |
getMiningMartStep()
Gets the MiningMartStep. |
java.lang.String |
getStepFigureFileName()
Gets the filename of the step-figure. |
java.awt.Image |
getStepFigureImage()
Gets the iamge of the StepFigure. |
boolean |
imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int w,
int h)
Handles asynchroneous image updates. |
void |
moveBy(int dx,
int dy)
If the StepFigure was moved then the position of the Step also changes. |
void |
onSetAttribute(org.musoft.limo.model.ModelElement sender,
org.musoft.limo.model.ModelPrimitiveAttribute mpa)
|
void |
onSetName(org.musoft.limo.model.ModelElement sender)
Sets the label. |
| Methods inherited from class org.musoft.limo.drawing.ModelFigure |
|---|
addToContainer, createConnector, displayBox, getDecoration, getDrawing, getElement, getLabel, getLabelColor, getLabelFigure, getLabelPosition, getMoveable, getSizeable, handles, initialize, onAddAssociate, onAddChild, onCreateChild, onCreateConnection, onDestroy, onRemoveAssociate, onRemoveChild, 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 |
| Field Detail |
|---|
public static boolean NO_DIRTYING
| Constructor Detail |
|---|
public StepFigure(org.musoft.limo.model.ModelFigureElement element,
org.musoft.limo.drawing.ModelDrawing drawing)
StepFigure.
| Method Detail |
|---|
public void bringToFront()
bringToFront in class org.musoft.limo.drawing.ModelFigurepublic MiningMartStep getMiningMartStep()
MiningMartStep.
public java.lang.String getStepFigureFileName()
public java.awt.Image getStepFigureImage()
StepFigure.
public void basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
basicDisplayBox in interface org.jhotdraw.framework.FigurebasicDisplayBox in class org.musoft.limo.drawing.ModelFigure
public void moveBy(int dx,
int dy)
StepFigure was moved then the position of the Step also changes.
moveBy in interface org.jhotdraw.framework.FiguremoveBy in class org.musoft.limo.drawing.ModelFigurepublic void draw(java.awt.Graphics g)
StepFigure.
draw in interface org.jhotdraw.framework.Figuredraw in class org.jhotdraw.contrib.GraphicalCompositeFigure
public boolean imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int w,
int h)
imageUpdate in interface java.awt.image.ImageObserverpublic void onSetName(org.musoft.limo.model.ModelElement sender)
onSetName in interface org.musoft.limo.model.ModelListeneronSetName in class org.musoft.limo.drawing.ModelFigure
public void onSetAttribute(org.musoft.limo.model.ModelElement sender,
org.musoft.limo.model.ModelPrimitiveAttribute mpa)
onSetAttribute in interface org.musoft.limo.model.ModelListeneronSetAttribute in class org.musoft.limo.drawing.ModelFigure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||