|
||||||||||
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 stylepublic 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 ISelectionInfo
public IColorConstant getHandleForegroundColor()
ISelectionInfo
getHandleForegroundColor
in interface ISelectionInfo
public void setHandleForegroundColor(IColorConstant handleForegroundColor)
ISelectionInfo
setHandleForegroundColor
in interface ISelectionInfo
handleForegroundColor
- the colorpublic IColorConstant getHandleBackgroundColor()
ISelectionInfo
getHandleBackgroundColor
in interface ISelectionInfo
public void setHandleBackgroundColor(IColorConstant handleBackgroundColor)
ISelectionInfo
setHandleBackgroundColor
in interface ISelectionInfo
handleBackgroundColor
- the colorpublic LineStyle getLineStyle()
ISelectionInfo
getLineStyle
in interface ISelectionInfo
public void setLineStyle(LineStyle lineStyle)
ISelectionInfo
setLineStyle
in interface ISelectionInfo
lineStyle
- the line stylepublic void setColor(IColorConstant color)
ISelectionInfo
setColor
in interface ISelectionInfo
color
- the colorpublic IColorConstant getHoverColor()
ISelectionInfo
getHoverColor
in interface ISelectionInfo
public void setLineStyle(IColorConstant color)
ISelectionInfo
setLineStyle
in interface ISelectionInfo
color
- the on hover colorpublic void setHoverColor(IColorConstant hoverColor)
ISelectionInfo
setHoverColor
in interface ISelectionInfo
hoverColor
- the colorpublic IColorConstant getHoverColorParentSelected()
ISelectionInfo
getHoverColorParentSelected
in interface ISelectionInfo
public void setHoverColorParentSelected(IColorConstant hoverColor)
ISelectionInfo
setHoverColorParentSelected
in interface ISelectionInfo
hoverColor
- the colorpublic IColorConstant getPrimarySelectionBackGroundColor()
ISelectionInfo
getPrimarySelectionBackGroundColor
in interface ISelectionInfo
public IColorConstant getSecondarySelectionBackGroundColor()
ISelectionInfo
getSecondarySelectionBackGroundColor
in interface ISelectionInfo
public void setPrimarySelectionBackgroundColor(IColorConstant color)
ISelectionInfo
setPrimarySelectionBackgroundColor
in interface ISelectionInfo
color
- the colorpublic void setSecondarySelectionBackgroundColor(IColorConstant color)
ISelectionInfo
setSecondarySelectionBackgroundColor
in interface ISelectionInfo
color
- the color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |