Style Intelligence v12.0

inetsoft.uql.asset
Class RangeGroupInfo

java.lang.Object
  extended by inetsoft.uql.asset.NamedGroupInfo
      extended by inetsoft.uql.asset.RangeGroupInfo
All Implemented Interfaces:
AssetObject, inetsoft.uql.util.XNamedGroupInfo, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class RangeGroupInfo
extends NamedGroupInfo

RangeGroupInfo is a special named group info where groups are created from value ranges.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface inetsoft.uql.util.XNamedGroupInfo
ASSET_NAMEDGROUP_INFO, ASSET_NAMEDGROUP_INFO_REF, EXPERT_NAMEDGROUP_INFO, SIMPLE_NAMEDGROUP_INFO
 
Constructor Summary
RangeGroupInfo(DataRef ref, double[] values, boolean incMin, boolean incMax)
          Create a range grouping.
RangeGroupInfo(DataRef ref, ValueRangeInfo info)
          Create a range grouping from value range definition.
 
Method Summary
protected  void parseContents(Element elem)
          Method to parse an xml segment.
 String toString()
          Get string description of the range.
protected  void writeContents(PrintWriter writer)
          Write the xml segment to print writer.
 
Methods inherited from class inetsoft.uql.asset.NamedGroupInfo
clear, clone, equals, exchange, getAllVariables, getDependeds, getGroupCondition, getGroups, getOthers, getType, isEmpty, parseXML, printKey, removeGroup, renameDepended, replaceVariables, setGroupCondition, setGroupCondition, setOthers, update, writeXML
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeGroupInfo

public RangeGroupInfo(DataRef ref,
                      double[] values,
                      boolean incMin,
                      boolean incMax)
Create a range grouping.

Parameters:
ref - grouping column.
values - the range values, should be sorted.
incMin - true to show values less than the smallest value in ranges.
incMax - true to show values larger than the largest value in ranges.

RangeGroupInfo

public RangeGroupInfo(DataRef ref,
                      ValueRangeInfo info)
Create a range grouping from value range definition.

Method Detail

writeContents

protected void writeContents(PrintWriter writer)
Write the xml segment to print writer.

Overrides:
writeContents in class NamedGroupInfo
Parameters:
writer - the destination print writer.

parseContents

protected void parseContents(Element elem)
                      throws Exception
Method to parse an xml segment.

Overrides:
parseContents in class NamedGroupInfo
Parameters:
elem - the specified xml element.
Throws:
Exception

toString

public String toString()
Get string description of the range.

Overrides:
toString in class NamedGroupInfo
Returns:
the string representation.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.