|
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 PolygonDecoration com.ibm.etools.systems.application.visual.editor.ui.figures.impl.SolidArrowDecoration
public class SolidArrowDecoration
Solid 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 | |
---|---|
SolidArrowDecoration(IMapMode mapMode)
Constructor. |
Method Summary | |
---|---|
protected void |
fillShape(Graphics g)
Override the figure method "fillShape" to fill with feedback colors. |
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. |
protected void |
setupGraphicsForFill(Graphics g,
String feedbackState)
Setup the properties of graphics for fill the decoration. |
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 SolidArrowDecoration(IMapMode mapMode)
Method Detail |
---|
protected void init()
public void setBaseColor(Color color)
public void setForegroundColor(Color color)
protected void fillShape(Graphics g)
protected void setupGraphicsForFill(Graphics g, String feedbackState)
g
- feedbackState
- 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 |