Package org.eclipse.graphiti.tb
Class SelectionInfoImpl
java.lang.Object
org.eclipse.graphiti.tb.SelectionInfoImpl
- All Implemented Interfaces:
 ISelectionInfo
- Direct Known Subclasses:
 ConnectionSelectionInfoImpl,ShapeSelectionInfoImpl
The Class SelectionInfoImpl.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the color.Gets the hover color.Gets the hover color for a shape whose parent is selected.Gets the line style.intGets the line width.voidsetColor(IColorConstant color) Set the color of the selection.voidsetHoverColor(IColorConstant hoverColor) Sets the hover color.voidsetHoverColorParentSelected(IColorConstant hoverColor) Sets the hover color for shapes whose parent is selected.voidsetLineStyle(LineStyle lineStyle) Set the line style of the selection.voidsetLineWidth(int lineWidth) Sets the line width of the selection. 
- 
Constructor Details
- 
SelectionInfoImpl
public SelectionInfoImpl()Creates a newSelectionInfoImpl. 
 - 
 - 
Method Details
- 
getColor
Description copied from interface:ISelectionInfoGets the color.- Specified by:
 getColorin interfaceISelectionInfo- Returns:
 - the color of the selection border
 
 - 
getLineStyle
Description copied from interface:ISelectionInfoGets the line style.- Specified by:
 getLineStylein interfaceISelectionInfo- Returns:
 - the line style of the selection
 
 - 
getLineWidth
public int getLineWidth()Description copied from interface:ISelectionInfoGets the line width.- Specified by:
 getLineWidthin interfaceISelectionInfo- Returns:
 - the line width of the selection
 
 - 
setLineStyle
Description copied from interface:ISelectionInfoSet the line style of the selection.- Specified by:
 setLineStylein interfaceISelectionInfo- Parameters:
 lineStyle- the line style
 - 
setColor
Description copied from interface:ISelectionInfoSet the color of the selection.- Specified by:
 setColorin interfaceISelectionInfo- Parameters:
 color- the color
 - 
getHoverColor
Description copied from interface:ISelectionInfoGets the hover color.- Specified by:
 getHoverColorin interfaceISelectionInfo- Returns:
 - the on hover color
 
 - 
setHoverColor
Description copied from interface:ISelectionInfoSets the hover color.- Specified by:
 setHoverColorin interfaceISelectionInfo- Parameters:
 hoverColor- the color
 - 
getHoverColorParentSelected
Description copied from interface:ISelectionInfoGets the hover color for a shape whose parent is selected.- Specified by:
 getHoverColorParentSelectedin interfaceISelectionInfo- Returns:
 - the hover color
 
 - 
setHoverColorParentSelected
Description copied from interface:ISelectionInfoSets the hover color for shapes whose parent is selected.- Specified by:
 setHoverColorParentSelectedin interfaceISelectionInfo- Parameters:
 hoverColor- the color
 - 
setLineWidth
public void setLineWidth(int lineWidth) Description copied from interface:ISelectionInfoSets the line width of the selection.- Specified by:
 setLineWidthin interfaceISelectionInfo- Parameters:
 lineWidth- the line width
 
 -