public abstract class CounterElement
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected long |
extraValue |
protected java.lang.String |
linkText |
protected float |
percentOfTotal |
protected float |
percentOfValue |
protected long |
previousValue |
protected java.lang.String |
text |
protected long |
value |
| Constructor and Description |
|---|
CounterElement() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
long |
getExtraValue() |
java.lang.String |
getLinkText()
Gets the link text or the text if a link text was not defined
|
float |
getPercentOfTotal()
Gets the % of total or -1 if not set
|
float |
getPercentOfValue()
Gets the % of value or -1 if not set
|
long |
getPreviousValue()
Gets the previous value
|
java.lang.String |
getText()
Gets the text
|
long |
getValue() |
void |
setDescription(java.lang.String d) |
void |
setExtraValue(long v) |
void |
setLinkText(java.lang.String linkText)
Sets a special link text for screenPath with [TEXT] in it
|
void |
setPercentOfTotal(float percentOfTotal)
Sets the % of total
|
void |
setPercentOfValue(float percentOfValue)
Sets the % of value
|
void |
setPreviousValue(long previousValue)
Sets the previous value
|
void |
setText(java.lang.String text)
Sets the text
|
void |
setValue(long value) |
protected long value
protected long previousValue
protected float percentOfTotal
protected java.lang.String text
protected java.lang.String linkText
protected java.lang.String description
protected long extraValue
protected float percentOfValue
public long getValue()
public void setValue(long value)
value - The current value to set.public java.lang.String getLinkText()
public void setLinkText(java.lang.String linkText)
linkText - public java.lang.String getText()
public void setText(java.lang.String text)
text - public long getPreviousValue()
public void setPreviousValue(long previousValue)
previousValue - public float getPercentOfTotal()
public void setPercentOfTotal(float percentOfTotal)
percentOfTotal - public void setDescription(java.lang.String d)
public java.lang.String getDescription()
public void setExtraValue(long v)
public long getExtraValue()
public float getPercentOfValue()
public void setPercentOfValue(float percentOfValue)
percentOfValue - Copyright © 2015 Trend Micro Inc. All Rights Reserved.