|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.GaugeDataModelImp.GaugeItem
Item of the Gauge control
Field Summary | |
private double |
amount
The absolute amount |
private Color |
color
Segments color |
private java.lang.String |
hyperlink
optional hyperlink |
private static long |
serialVersionUID
|
private java.lang.String |
target
optional hyperlink target attribute |
private java.lang.String |
tooltip
optional tooltip text |
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
GaugeDataModelImp.GaugeItem()
Constructor |
|
GaugeDataModelImp.GaugeItem(double amount,
java.lang.String tooltip,
Color color)
Constructor |
Method Summary | |
double |
getAmount()
Returns the absolute amount of the given segment. |
Color |
getColor()
Returns the color of the given segment |
java.lang.String |
getHyperlink()
Returns a hyperlink for the given segment |
java.lang.String |
getTarget()
Returns the traget where to open the hyperlink |
java.lang.String |
getTooltip()
Returns the tooltip text for the given segment |
void |
setAmount(double d)
|
void |
setColor(Color color)
|
void |
setHyperlink(java.lang.String string)
|
void |
setTarget(java.lang.String string)
|
void |
setTooltip(java.lang.String string)
|
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private double amount
private java.lang.String tooltip
private java.lang.String target
private java.lang.String hyperlink
private Color color
Constructor Detail |
public GaugeDataModelImp.GaugeItem()
public GaugeDataModelImp.GaugeItem(double amount, java.lang.String tooltip, Color color)
amount
- The absolute amounttooltip
- Tooltip textcolor
- ColorMethod Detail |
public double getAmount()
public java.lang.String getTooltip()
null
public Color getColor()
public java.lang.String getHyperlink()
null
public java.lang.String getTarget()
null
public void setAmount(double d)
d
- absolute amountpublic void setColor(Color color)
color
- Colorpublic void setHyperlink(java.lang.String string)
string
- Hyperlinkpublic void setTarget(java.lang.String string)
string
- Target attributepublic void setTooltip(java.lang.String string)
string
- tooltip
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |