$search

org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2 Class Reference

Inheritance diagram for org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void fillVerticalGradientRoundedRectangle (Graphics graphics, Rectangle bounds, Dimension corner, Color c1, Color c2)
WrappingLabel getFigureNodeNameFigure ()
RectangleFigure getFigureParameterCompartmentFigure ()
Color mixColor (Color baseColor, Color mixinColor, int ratio)
 NodeFigure2 ()
void paintFigure (Graphics graphics)

Static Public Attributes

static final int BLUR_SHADOW_WIDTH = 5

Protected Member Functions

void fillShape (Graphics graphics)

Private Member Functions

void createContents ()
void drawBlurredShadow (Graphics graphics)

Private Attributes

WrappingLabel fFigureNodeNameFigure
RectangleFigure fFigureParameterCompartmentFigure

Detailed Description

Definition at line 443 of file NodeEditPart.java.


Constructor & Destructor Documentation

org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::NodeFigure2 (  )  [inline]

Definition at line 570 of file NodeEditPart.java.


Member Function Documentation

void org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::createContents (  )  [inline, private]

Definition at line 588 of file NodeEditPart.java.

void org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::drawBlurredShadow ( Graphics  graphics  )  [inline, private]

Definition at line 528 of file NodeEditPart.java.

void org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::fillShape ( Graphics  graphics  )  [inline, protected]

Fill the shape with a vertical color gradient. The gradient mixes a white into the configured background color.

Definition at line 521 of file NodeEditPart.java.

void org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::fillVerticalGradientRoundedRectangle ( Graphics  graphics,
Rectangle  bounds,
Dimension  corner,
Color  c1,
Color  c2 
) [inline]

This function fills a rounded rectangle with a vertical gradient. This implementation does not use the gradient mechanism based on background patterns since they do not work stable on all systems.

Parameters:
graphics 
bounds 
corner 
c1 
c2 

Definition at line 458 of file NodeEditPart.java.

WrappingLabel org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::getFigureNodeNameFigure (  )  [inline]

Definition at line 650 of file NodeEditPart.java.

RectangleFigure org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::getFigureParameterCompartmentFigure (  )  [inline]

Definition at line 657 of file NodeEditPart.java.

Color org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::mixColor ( Color  baseColor,
Color  mixinColor,
int  ratio 
) [inline]

Calculates a mixed color from two colors by interpolating the rgb parts using a mix ratio.

Parameters:
baseColor 
mixinColor 
ratio a value from 0 to 255 that defines the mix ratio. Using 0 will return the base color and 255 the mixin color.
Returns:

Definition at line 500 of file NodeEditPart.java.

void org::ros::model::ros_package::diagram::edit::parts::NodeEditPart::NodeFigure2::paintFigure ( Graphics  graphics  )  [inline]

Definition at line 511 of file NodeEditPart.java.


Member Data Documentation

Definition at line 445 of file NodeEditPart.java.

Definition at line 561 of file NodeEditPart.java.

Definition at line 565 of file NodeEditPart.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Tue Mar 5 11:39:53 2013