|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PolylineDecoration com.ibm.etools.systems.application.visual.editor.ui.figures.impl.ArrowDecoration
public class ArrowDecoration
Arrow decoration for connection lines.
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from interface com.ibm.etools.systems.application.visual.editor.ui.figures.IFeedbackFigure |
---|
STATE_ASSOCIATED_CLEAR, STATE_ASSOCIATED_SOURCE, STATE_ASSOCIATED_TARGET, STATE_HOVER, STATE_NONE, STATE_SELECTED, STATE_TARGET, STATE_TARGET_HOVER |
Constructor Summary | |
---|---|
ArrowDecoration(IMapMode mapMode)
Constructor. |
Method Summary | |
---|---|
protected Color |
getAssociatedSourceColor()
Get associated source color. |
protected Color |
getAssociatedTargetColor()
Get associated target color. |
Rectangle |
getFeedbackFigureBounds()
Return feedback figure bound. |
String |
getFeedbackState()
Return feedback state. |
protected void |
init()
Initialize the figure. |
protected void |
outlineShape(Graphics g)
Override the figure method "outlineShape" to draw the actual polyline connection shape. |
void |
setBaseColor(Color color)
Set default color. |
void |
setFeedbackState(String state,
EditPart requester)
Set feedback state which is requested by the requester. |
void |
setForegroundColor(Color color)
Set ForegroundColor. |
protected void |
setupGraphicsForDraw(Graphics g,
String feedbackState)
Setup the properties of graphics for drawing the line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public ArrowDecoration(IMapMode mapMode)
Method Detail |
---|
protected void init()
public void setBaseColor(Color color)
public void setForegroundColor(Color color)
protected void outlineShape(Graphics g)
protected void setupGraphicsForDraw(Graphics g, String feedbackState)
g
- feedbackState
- public Rectangle getFeedbackFigureBounds()
IFeedbackFigure
getFeedbackFigureBounds
in interface IFeedbackFigure
public String getFeedbackState()
IFeedbackFigure
getFeedbackState
in interface IFeedbackFigure
public void setFeedbackState(String state, EditPart requester)
IFeedbackFigure
setFeedbackState
in interface IFeedbackFigure
protected Color getAssociatedSourceColor()
protected Color getAssociatedTargetColor()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |