|
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.CircleDecoration
public class CircleDecoration
The circle anchor decoration that is used as the source decoration for Application Diagram connection lines.
Field Summary | |
---|---|
static String |
copyright
|
protected static int |
defaultDia
|
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 | |
---|---|
CircleDecoration(IMapMode mapMode)
Constructor. |
|
CircleDecoration(IMapMode mapMode,
int diameter)
Constructor. |
Method Summary | |
---|---|
protected void |
drawFigure(Rectangle rectangle,
Graphics graphics,
String feedbackState)
|
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. |
Color |
getFillColor(String feedbackState)
Retrun color for specific feedback state. |
protected void |
init()
Initialize the figure. |
void |
paintFigure(Graphics graphics)
Paint figure. |
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. |
void |
setHoverColor(Color hoverColor)
Set hover over color |
void |
setSelectedColor(Color selectedColor)
Set selected color |
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
protected static int defaultDia
Constructor Detail |
---|
public CircleDecoration(IMapMode mapMode)
public CircleDecoration(IMapMode mapMode, int diameter)
Method Detail |
---|
protected void init()
public void setForegroundColor(Color color)
public void setBaseColor(Color color)
public void setHoverColor(Color hoverColor)
public void setSelectedColor(Color selectedColor)
public void paintFigure(Graphics graphics)
protected void drawFigure(Rectangle rectangle, Graphics graphics, String feedbackState)
rectangle
- feedbackState
- public Color getFillColor(String feedbackState)
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 |