public class ShortStream extends ShortStream
DEBUG, presentation, serverSpace, stream, streamId, summary0, summary1, summaryEnabled, summaryLen| Constructor and Description |
|---|
ShortStream(AbstractDriver driver,
String name,
short minValue,
short maxValue,
short zeroValue,
short defaultValue,
String stringPre,
String stringPost,
int presentation,
int paintStyle,
int indexMaxStream,
Color colour,
boolean summary)
Construct a new GCspy stream of SHORT_TYPE
|
distribute, increment, resetData, sendgetMaxValue, getMinValue, sendSummary, setStream, setSummary, setSummarypublic ShortStream(AbstractDriver driver, String name, short minValue, short maxValue, short zeroValue, short defaultValue, String stringPre, String stringPost, int presentation, int paintStyle, int indexMaxStream, Color colour, boolean summary)
driver - The driver that owns this Streamname - The name of the stream (e.g. "Used space")minValue - The minimum value for any item in this stream.
Values less than this will be represented as "minValue-"maxValue - The maximum value for any item in this stream.
Values greater than this will be represented as "maxValue+"zeroValue - The zero value for this streamdefaultValue - The default value for this streamstringPre - A string to prefix values (e.g. "Used: ")stringPost - A string to suffix values (e.g. " bytes.")presentation - How a stream value is to be presented.paintStyle - How the value is to be painted.indexMaxStream - The index of the maximum stream if the presentation is *_VAR.colour - The default colour for tiles of this streamsummary - Is a summary enabled?