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
-
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.void
Sets color for primary selection background.void
Sets the primary selection background color for the selection handle.void
Sets the primary selection foreground color for the selection handle.void
Sets color for secondary selection background.void
Sets the secondary selection background color for the selection handle.void
Sets the secondary selection foreground color for the selection handle.Methods inherited from class org.eclipse.graphiti.tb.SelectionInfoImpl
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.graphiti.tb.ISelectionInfo
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle
-
Constructor Details
-
ShapeSelectionInfoImpl
public ShapeSelectionInfoImpl()
-
-
Method Details
-
getPrimarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfo
Gets the primary selection background color. Only used if no Rendering style is set.- Specified by:
getPrimarySelectionBackgroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the primary selection background color
-
getSecondarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfo
Gets the secondary selection background color. Only used if no Rendering style is set.- Specified by:
getSecondarySelectionBackgroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the secondary selection background color
-
setPrimarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfo
Sets color for primary selection background. Only used if no Rendering style is set.- Specified by:
setPrimarySelectionBackgroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-
setSecondarySelectionBackgroundColor
Description copied from interface:IShapeSelectionInfo
Sets color for secondary selection background. Only used if no Rendering style is set.- Specified by:
setSecondarySelectionBackgroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-
getPrimarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfo
Gets the primary selection foreground color for the selection handle.- Specified by:
getPrimarySelectionHandleForegroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the foreground color
-
getPrimarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfo
Gets the primary selection background color for the selection handle.- Specified by:
getPrimarySelectionHandleBackgroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the background color
-
getSecondarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfo
Gets the secondary selection foreground color for the selection handle.- Specified by:
getSecondarySelectionHandleForegroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the foreground color
-
getSecondarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfo
Gets the secondary selection background color for the selection handle.- Specified by:
getSecondarySelectionHandleBackgroundColor
in interfaceIShapeSelectionInfo
- Returns:
- the background color
-
setPrimarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfo
Sets the primary selection foreground color for the selection handle.- Specified by:
setPrimarySelectionHandleForegroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-
setPrimarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfo
Sets the primary selection background color for the selection handle.- Specified by:
setPrimarySelectionHandleBackgroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-
setSecondarySelectionHandleForegroundColor
Description copied from interface:IShapeSelectionInfo
Sets the secondary selection foreground color for the selection handle.- Specified by:
setSecondarySelectionHandleForegroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-
setSecondarySelectionHandleBackgroundColor
Description copied from interface:IShapeSelectionInfo
Sets the secondary selection background color for the selection handle.- Specified by:
setSecondarySelectionHandleBackgroundColor
in interfaceIShapeSelectionInfo
- Parameters:
color
- the color
-