GLG Toolkit v. 4.2

com.genlogic
Class GlgDataSampleExt

java.lang.Object
  extended by com.genlogic.GlgDataSample
      extended by com.genlogic.GlgDataSampleExt

public class GlgDataSampleExt
extends GlgDataSample

DataSample object: holds data for one point of a chart.


Field Summary
 byte drawn_size
          BAR width or MARKER size.
 byte drawn_type
          BAR fill type or MARKER type.
 int edge_color
          Edge color of a BAR or MARKER.
 int fill_color
          Fill color of a BAR or MARKER.
 byte line_width
          BAR line width.
 int saved_type
          Type of the saved extended data: BAR_EXT_DATA or MARKER_EXT_DATA
 double y_low
          BAR YLow value.
 
Fields inherited from class com.genlogic.GlgDataSample
extended_data, marker_vis, time, valid, value
 
Constructor Summary
GlgDataSampleExt()
          Constructor.
 
Method Summary
static GlgDataSampleExt GetFromCache()
          Returns an object from an internal cache, or creates a new object if the cache is empty.
static void ReleaseToCache(GlgDataSampleExt obj)
          Returns the object to the internal cache for reuse.
 
Methods inherited from class com.genlogic.GlgDataSample
ReleaseToCache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

saved_type

public int saved_type
Type of the saved extended data: BAR_EXT_DATA or MARKER_EXT_DATA


y_low

public double y_low
BAR YLow value.


fill_color

public int fill_color
Fill color of a BAR or MARKER.


edge_color

public int edge_color
Edge color of a BAR or MARKER.


drawn_size

public byte drawn_size
BAR width or MARKER size.


drawn_type

public byte drawn_type
BAR fill type or MARKER type.


line_width

public byte line_width
BAR line width.

Constructor Detail

GlgDataSampleExt

public GlgDataSampleExt()
Constructor.

Method Detail

GetFromCache

public static GlgDataSampleExt GetFromCache()
Returns an object from an internal cache, or creates a new object if the cache is empty.


ReleaseToCache

public static void ReleaseToCache(GlgDataSampleExt obj)
Returns the object to the internal cache for reuse. Only objects obtained with GetFromCache should be released to the cache. Releasing to cache objects created with new would result in consuming resources due to the groth of the cache size. The object should not be accessed after it is released to the cache.


GLG Toolkit v. 4.2