org.eclipse.graphiti.tb
Interface ISelectionInfo

All Known Implementing Classes:
SelectionInfoImpl

public interface ISelectionInfo

The Interface ISelectionInfo.


Method Summary
 IColorConstant getColor()
          Gets the color.
 IColorConstant getHandleBackgroundColor()
          Gets the handle background color.
 IColorConstant getHandleForegroundColor()
          Gets the handle foreground color.
 IColorConstant getHoverColor()
          Gets the hover color.
 IColorConstant getHoverColorParentSelected()
          Gets the hover color for a shape whose parent is selected.
 LineStyle getLineStyle()
          Gets the line style.
 void setColor(IColorConstant color)
          Set the color of the selection.
 void setHandleBackgroundColor(IColorConstant color)
          Set the background color of the selection handle.
 void setHandleForegroundColor(IColorConstant color)
          Set the foreground color of the selection handle.
 void setHoverColor(IColorConstant hoverColor)
          Sets the hover color.
 void setHoverColorParentSelected(IColorConstant hoverColor)
          Sets the hover color for shapes whose parent is selected.
 void setLineStyle(IColorConstant color)
          Set hover color.
 void setLineStyle(LineStyle lineStyle)
          Set the line style of the selection.
 

Method Detail

getColor

IColorConstant getColor()
Gets the color.

Returns:
the color of the selection border

getHandleForegroundColor

IColorConstant getHandleForegroundColor()
Gets the handle foreground color.

Returns:
the foreground color of the selection handle

getHandleBackgroundColor

IColorConstant getHandleBackgroundColor()
Gets the handle background color.

Returns:
the background color of the selection handle

getHoverColor

IColorConstant getHoverColor()
Gets the hover color.

Parameters:
color - the on hover color

getHoverColorParentSelected

IColorConstant getHoverColorParentSelected()
Gets the hover color for a shape whose parent is selected.

Parameters:
color - the on hover color

getLineStyle

LineStyle getLineStyle()
Gets the line style.

Returns:
the line style of the selection

setColor

void setColor(IColorConstant color)
Set the color of the selection.

Parameters:
color - the color

setHoverColor

void setHoverColor(IColorConstant hoverColor)
Sets the hover color.

Parameters:
color - the color

setHoverColorParentSelected

void setHoverColorParentSelected(IColorConstant hoverColor)
Sets the hover color for shapes whose parent is selected.

Parameters:
color - the color

setHandleForegroundColor

void setHandleForegroundColor(IColorConstant color)
Set the foreground color of the selection handle.

Parameters:
color - the color

setHandleBackgroundColor

void setHandleBackgroundColor(IColorConstant color)
Set the background color of the selection handle.

Parameters:
color - the color

setLineStyle

void setLineStyle(LineStyle lineStyle)
Set the line style of the selection.

Parameters:
lineStyle - the line style

setLineStyle

void setLineStyle(IColorConstant color)
Set hover color.

Parameters:
color - the on hover color


Copyright (c) SAP AG 2005, 2010.