|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.tb.SelectionInfoImpl
public class SelectionInfoImpl
The Class SelectionInfoImpl.
| Field Summary | |
|---|---|
private IColorConstant |
color
|
private IColorConstant |
handleBackgroundColor
|
private IColorConstant |
handleForegroundColor
|
private IColorConstant |
hoverColor
|
private IColorConstant |
hoverColorParentSelected
|
private LineStyle |
lineStyle
|
private IColorConstant |
primarySelectionBackgroundColor
|
private IColorConstant |
secondarySelectionBackgroundColor
|
| Constructor Summary | |
|---|---|
SelectionInfoImpl()
Creates a new SelectionInfoImpl. |
|
SelectionInfoImpl(IColorConstant color,
IColorConstant handleForegroundColor,
IColorConstant handleBackgroundColor,
IColorConstant hoverColor,
LineStyle lineStyle)
Creates a new SelectionInfoImpl. |
|
SelectionInfoImpl(IColorConstant color,
IColorConstant handleForegroundColor,
IColorConstant handleBackgroundColor,
LineStyle lineStyle)
Creates a new SelectionInfoImpl. |
|
| 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. |
IColorConstant |
getPrimarySelectionBackGroundColor()
Gets the primary selection background color. |
IColorConstant |
getSecondarySelectionBackGroundColor()
Gets the secondary selection background color. |
void |
setColor(IColorConstant color)
Set the color of the selection. |
void |
setHandleBackgroundColor(IColorConstant handleBackgroundColor)
Set the background color of the selection handle. |
void |
setHandleForegroundColor(IColorConstant handleForegroundColor)
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. |
void |
setPrimarySelectionBackgroundColor(IColorConstant color)
Sets color for primary selection background. |
void |
setSecondarySelectionBackgroundColor(IColorConstant color)
Sets color for secondary selection background. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IColorConstant color
private IColorConstant handleForegroundColor
private IColorConstant handleBackgroundColor
private IColorConstant hoverColor
private LineStyle lineStyle
private IColorConstant hoverColorParentSelected
private IColorConstant primarySelectionBackgroundColor
private IColorConstant secondarySelectionBackgroundColor
| Constructor Detail |
|---|
public SelectionInfoImpl(IColorConstant color,
IColorConstant handleForegroundColor,
IColorConstant handleBackgroundColor,
LineStyle lineStyle)
SelectionInfoImpl.
color - the colorhandleForegroundColor - the handle foreground colorhandleBackgroundColor - the handle background colorlineStyle - the line style
public SelectionInfoImpl(IColorConstant color,
IColorConstant handleForegroundColor,
IColorConstant handleBackgroundColor,
IColorConstant hoverColor,
LineStyle lineStyle)
SelectionInfoImpl.
color - the colorhandleForegroundColor - the handle foreground colorhandleBackgroundColor - the handle background colorlineStyle - the line stylepublic SelectionInfoImpl()
SelectionInfoImpl.
| Method Detail |
|---|
public IColorConstant getColor()
ISelectionInfo
getColor in interface ISelectionInfopublic IColorConstant getHandleForegroundColor()
ISelectionInfo
getHandleForegroundColor in interface ISelectionInfopublic void setHandleForegroundColor(IColorConstant handleForegroundColor)
ISelectionInfo
setHandleForegroundColor in interface ISelectionInfohandleForegroundColor - the colorpublic IColorConstant getHandleBackgroundColor()
ISelectionInfo
getHandleBackgroundColor in interface ISelectionInfopublic void setHandleBackgroundColor(IColorConstant handleBackgroundColor)
ISelectionInfo
setHandleBackgroundColor in interface ISelectionInfohandleBackgroundColor - the colorpublic LineStyle getLineStyle()
ISelectionInfo
getLineStyle in interface ISelectionInfopublic void setLineStyle(LineStyle lineStyle)
ISelectionInfo
setLineStyle in interface ISelectionInfolineStyle - the line stylepublic void setColor(IColorConstant color)
ISelectionInfo
setColor in interface ISelectionInfocolor - the colorpublic IColorConstant getHoverColor()
ISelectionInfo
getHoverColor in interface ISelectionInfopublic void setLineStyle(IColorConstant color)
ISelectionInfo
setLineStyle in interface ISelectionInfocolor - the on hover colorpublic void setHoverColor(IColorConstant hoverColor)
ISelectionInfo
setHoverColor in interface ISelectionInfopublic IColorConstant getHoverColorParentSelected()
ISelectionInfo
getHoverColorParentSelected in interface ISelectionInfopublic void setHoverColorParentSelected(IColorConstant hoverColor)
ISelectionInfo
setHoverColorParentSelected in interface ISelectionInfopublic IColorConstant getPrimarySelectionBackGroundColor()
ISelectionInfo
getPrimarySelectionBackGroundColor in interface ISelectionInfopublic IColorConstant getSecondarySelectionBackGroundColor()
ISelectionInfo
getSecondarySelectionBackGroundColor in interface ISelectionInfopublic void setPrimarySelectionBackgroundColor(IColorConstant color)
ISelectionInfo
setPrimarySelectionBackgroundColor in interface ISelectionInfocolor - the colorpublic void setSecondarySelectionBackgroundColor(IColorConstant color)
ISelectionInfo
setSecondarySelectionBackgroundColor in interface ISelectionInfocolor - the color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||