|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.simulogic.dataview.plots.ChannelAttribute
public class ChannelAttribute
This class contains attributes that affect visual appearance of the channel
Field Summary | |
---|---|
static java.awt.Color[] |
fillColors
Default fill colors table |
static int |
HIDDEN_CHANNEL
Attribute of the hidden channel |
static int |
NORMAL_CHANNEL
Attribute of the normal (default) channel |
static java.awt.Color[] |
outlineColors
Default outline colors table |
Constructor Summary | |
---|---|
ChannelAttribute()
Creates new ChannelAttributes |
|
ChannelAttribute(java.awt.Color color,
int symbol,
int visiblity)
Creates new ChannelAttributes |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Getter for property color |
java.awt.Color |
getFillColor()
Getter for property fill color |
double |
getSpace()
Getter for property space. |
java.awt.BasicStroke |
getStroke()
Getter for property stroke. |
PlotSymbol |
getSymbol()
Getter for property symbol. |
int |
getVisiblity()
Getter for property visiblity. |
boolean |
isHidden()
Returns true if this channel has hidden attribute turned on |
boolean |
isNormal()
Returns true if this channel has normal (default) attribute turned on |
boolean |
isSelected()
Returns true if this channel is selected |
void |
setColor(java.awt.Color color)
Setter for property color |
void |
setFillColor(java.awt.Color color)
Setter for property fill color |
void |
setIndexedColor(int i)
Sets color from the fixed outline color pallete |
void |
setIndexedFillColor(int i)
Sets color from the fixed fill color pallete |
void |
setIndexedSymbol(int i)
Sets symbol from the fixed symbol pallete |
void |
setSelected(boolean selected)
Setter for property selected. |
void |
setSpace(double space)
Setter for property space. |
void |
setStroke(java.awt.BasicStroke stroke)
Setter for property stroke. |
void |
setSymbol(PlotSymbol symbol)
Setter for property symbol. |
void |
setVisiblity(int visiblity)
Setter for property visiblity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NORMAL_CHANNEL
public static final int HIDDEN_CHANNEL
public static final java.awt.Color[] outlineColors
public static final java.awt.Color[] fillColors
Constructor Detail |
---|
public ChannelAttribute()
public ChannelAttribute(java.awt.Color color, int symbol, int visiblity)
color
- color of the channelsymbol
- symbol for the symbol plotvisiblity
- visiblity of the channelMethod Detail |
---|
public boolean isNormal()
public boolean isHidden()
public void setIndexedColor(int i)
i
- index in the palletepublic void setIndexedFillColor(int i)
i
- index in the palletepublic void setIndexedSymbol(int i)
i
- index in the palletepublic java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- New value of property colorpublic java.awt.Color getFillColor()
public void setFillColor(java.awt.Color color)
color
- New value of property fill colorpublic PlotSymbol getSymbol()
public void setSymbol(PlotSymbol symbol)
symbol
- New value of property symbol.public double getSpace()
public void setSpace(double space)
space
- New value of property space.public int getVisiblity()
public void setVisiblity(int visiblity)
visiblity
- New value of property visiblity.public java.awt.BasicStroke getStroke()
public void setStroke(java.awt.BasicStroke stroke)
stroke
- New value of property stroke.public boolean isSelected()
public void setSelected(boolean selected)
selected
- Value of property selected.
|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |