|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.viewmanagement.AEffect
de.cau.cs.kieler.viewmanagement.effects.HighlightEffect
public class HighlightEffect
Constructor Summary | |
---|---|
HighlightEffect()
default constructor, highlighting figure is initially defined here by setting up the figure itself, the line width, color etc. |
Method Summary | |
---|---|
void |
execute()
Abstract method to execute a specific effect. |
void |
setHighlightFigure(int width,
Color lineColor)
Changes parameters of highlight figure. |
void |
setTarget(EditPart target)
Sets the target of the effect |
void |
undo()
Undo the effect. |
Methods inherited from class de.cau.cs.kieler.viewmanagement.AEffect |
---|
getAffectedObject, setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighlightEffect()
Method Detail |
---|
public final void execute()
AEffect
execute
in class AEffect
public final void undo()
public final void setTarget(EditPart target)
setTarget
in class AEffect
target
- the targetpublic final void setHighlightFigure(int width, Color lineColor)
width
- the width of the of the highlight figurelineColor
- the color of the line of the highlight figure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |