Summ:  Fields Methods    Details:  Fields Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Class ChartCustomAttribute<TValue>

java.lang.Object com.artfulbits.aiCharts.Base.ChartCustomAttribute<TValue>

Declaration: public final class ChartCustomAttribute<TValue> extends Object
Type Parameters: TValue - type of attribute.

 

Identifies generic custom attributes class.

 

Since: 1.0

 

 

Fields Summary
TValue DefaultValue
    
Default value of attribute
java.lang.String Name
    
Name of attribute.
java.lang.Class<?> Owner
    
Owner of attribute
java.lang.Class<TValue> Type
    
Type of attribute

 

 

Methods Summary
int hashCode()
    
static <TValue> ChartCustomAttribute<TValue> register(java.lang.String name, java.lang.Class<?> owner, java.lang.Class<TValue> type, TValue defaultValue)
    
Registers a new attribute for specified owner.

 

Methods inherited from class: java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait

 

 

 

 

Name

 

public final java.lang.String Name

 

Name of attribute.

 

Since: 1.0

 

 

 

Owner

 

public final java.lang.Class<?> Owner

 

Owner of attribute

 

Since: 1.0

 

 

 

Type

 

public final java.lang.Class<TValue> Type

 

Type of attribute

 

Since: 1.0

 

 

 

DefaultValue

 

public final TValue DefaultValue

 

Default value of attribute

 

Since: 1.0

 

 

 

 

register

 

public static <TValue> ChartCustomAttribute<TValue> register( java.lang.String name,
java.lang.Class<?> owner,
java.lang.Class<TValue> type,
TValue defaultValue)

 

Registers a new attribute for specified owner.

 

Parameters:
name-
Name of attribute
owner-
owning class.
defaultValue-
default value.
Returns:
instance of new attribute.

 

Since: 1.0

 

 

 

hashCode

 

public int hashCode( )

 

Overrides: java.lang.Object.hashCode()

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.