Package org.eclipse.graphiti.tb
Class ShapeSelectionInfoImpl
java.lang.Object
org.eclipse.graphiti.tb.SelectionInfoImpl
org.eclipse.graphiti.tb.ShapeSelectionInfoImpl
- All Implemented Interfaces:
ISelectionInfo,IShapeSelectionInfo
- Direct Known Subclasses:
AnchorSelectionInfoImpl
- Since:
- 0.10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the primary selection background color.Gets the primary selection background color for the selection handle.Gets the primary selection foreground color for the selection handle.Gets the secondary selection background color.Gets the secondary selection background color for the selection handle.Gets the secondary selection foreground color for the selection handle.voidSets color for primary selection background.voidSets the primary selection background color for the selection handle.voidSets the primary selection foreground color for the selection handle.voidSets color for secondary selection background.voidSets the secondary selection background color for the selection handle.voidSets the secondary selection foreground color for the selection handle.Methods inherited from class org.eclipse.graphiti.tb.SelectionInfoImpl
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, getLineWidth, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle, setLineWidthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.tb.ISelectionInfo
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, getLineWidth, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle, setLineWidth
-
Constructor Details
-
ShapeSelectionInfoImpl
public ShapeSelectionInfoImpl()
-
-
Method Details
-
getPrimarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfoGets the primary selection background color. Only used if no Rendering style is set.- Specified by:
getPrimarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the primary selection background color
-
getSecondarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfoGets the secondary selection background color. Only used if no Rendering style is set.- Specified by:
getSecondarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the secondary selection background color
-
setPrimarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfoSets color for primary selection background. Only used if no Rendering style is set.- Specified by:
setPrimarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfoSets color for secondary selection background. Only used if no Rendering style is set.- Specified by:
setSecondarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
getPrimarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfoGets the primary selection foreground color for the selection handle.- Specified by:
getPrimarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Returns:
- the foreground color
-
getPrimarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfoGets the primary selection background color for the selection handle.- Specified by:
getPrimarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the background color
-
getSecondarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfoGets the secondary selection foreground color for the selection handle.- Specified by:
getSecondarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Returns:
- the foreground color
-
getSecondarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfoGets the secondary selection background color for the selection handle.- Specified by:
getSecondarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the background color
-
setPrimarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfoSets the primary selection foreground color for the selection handle.- Specified by:
setPrimarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setPrimarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfoSets the primary selection background color for the selection handle.- Specified by:
setPrimarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfoSets the secondary selection foreground color for the selection handle.- Specified by:
setSecondarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfoSets the secondary selection background color for the selection handle.- Specified by:
setSecondarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-