ChartMultilevelValue

Inheritance: java.lang.Object

public class ChartMultilevelValue

Represents a value for charts that display multilevel data.

Constructors

ConstructorDescription
ChartMultilevelValue(String level1, String level2, String level3)Initializes a new instance of this class that represents a three-level value.
ChartMultilevelValue(String level1, String level2)Initializes a new instance of this class that represents a two-level value.
ChartMultilevelValue(String level1)Initializes a new instance of this class that represents a single-level value.

Methods

MethodDescription
equals(Object obj)Gets a flag indicating whether the specified object is equal to the current multilevel data object.
getLevel1()Gets the name of the chart top level that this value refers to.
getLevel2()Gets the name of the chart intermediate level that this value refers to.
getLevel3()Gets the name of the chart bottom level that this value refers to.
hashCode()

ChartMultilevelValue(String level1, String level2, String level3)

public ChartMultilevelValue(String level1, String level2, String level3)

Initializes a new instance of this class that represents a three-level value.

Parameters:

ParameterTypeDescription
level1java.lang.String
level2java.lang.String
level3java.lang.String

ChartMultilevelValue(String level1, String level2)

public ChartMultilevelValue(String level1, String level2)

Initializes a new instance of this class that represents a two-level value.

Parameters:

ParameterTypeDescription
level1java.lang.String
level2java.lang.String

ChartMultilevelValue(String level1)

public ChartMultilevelValue(String level1)

Initializes a new instance of this class that represents a single-level value.

Parameters:

ParameterTypeDescription
level1java.lang.String

equals(Object obj)

public boolean equals(Object obj)

Gets a flag indicating whether the specified object is equal to the current multilevel data object.

Parameters:

ParameterTypeDescription
objjava.lang.Object

Returns: boolean

getLevel1()

public String getLevel1()

Gets the name of the chart top level that this value refers to.

Returns: java.lang.String - The name of the chart top level that this value refers to.

getLevel2()

public String getLevel2()

Gets the name of the chart intermediate level that this value refers to.

Returns: java.lang.String - The name of the chart intermediate level that this value refers to.

getLevel3()

public String getLevel3()

Gets the name of the chart bottom level that this value refers to.

Returns: java.lang.String - The name of the chart bottom level that this value refers to.

hashCode()

public int hashCode()

Returns: int