|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.vis.TileManagerColors
public class TileManagerColors
Color configuration for the tile manager
Constructor Summary | |
---|---|
TileManagerColors()
Create new set of (default) colours |
|
TileManagerColors(Space space)
Create new set of (default) colours for a space |
Method Summary | |
---|---|
java.awt.Color |
getActiveMarkerColor()
Get the colour used for active markers |
java.awt.Color |
getLinkColor()
Get the colour used for links |
java.awt.Color |
getMarkerColor()
Get the colour used for markers |
java.awt.Color |
getSelectedColor()
get teh selected colour |
java.awt.Color |
getSeparatorColor()
Get the colour used for separators |
java.awt.Color |
getStreamColor(int index)
Return a stream's colour |
void |
revertToDefaults()
Revert the colours for tiles, selections, markers, active markers, separators, links to their defaults |
void |
setActiveMarkerColor(java.awt.Color activeMarkerColor)
Set the active marker colour |
void |
setLinkColor(java.awt.Color linkColor)
Set the link colour |
void |
setMarkerColor(java.awt.Color markerColor)
Set the marker colour |
void |
setSelectedColor(java.awt.Color selectedColor)
Set the selected colour |
void |
setSeparatorColor(java.awt.Color separatorColor)
Set the separator colour |
void |
setStreamColor(int index,
java.awt.Color streamColor)
Set the colour for a stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TileManagerColors()
public TileManagerColors(Space space)
space
- The spaceMethod Detail |
---|
public void setSelectedColor(java.awt.Color selectedColor)
selectedColor
- the colourpublic void setMarkerColor(java.awt.Color markerColor)
markerColor
- the colourpublic void setActiveMarkerColor(java.awt.Color activeMarkerColor)
activeMarkerColor
- the colourpublic void setSeparatorColor(java.awt.Color separatorColor)
separatorColor
- the colourpublic void setLinkColor(java.awt.Color linkColor)
linkColor
- the colourpublic void setStreamColor(int index, java.awt.Color streamColor)
index
- the stream IDstreamColor
- the colourpublic java.awt.Color getSelectedColor()
public java.awt.Color getMarkerColor()
public java.awt.Color getActiveMarkerColor()
public java.awt.Color getSeparatorColor()
public java.awt.Color getLinkColor()
public java.awt.Color getStreamColor(int index)
index
- the stream ID
public void revertToDefaults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |