Summ:  Constr. Methods    Details:  Constr. Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Class ChartLegendItemsBinder

java.lang.Object com.artfulbits.aiCharts.Base.ChartLegendItemsBinder

Declaration: public final class ChartLegendItemsBinder extends Object
implements IItemBinder<ChartLegendItem>
All Interfaces: IItemBinder<ChartLegendItem>

 

Represents the legend's items binding class.

 

Since: 1.5.4

 

 

Constructors Summary
ChartLegendItemsBinder()
    
Constructor
ChartLegendItemsBinder(java.lang.String pattern)
    
Constructor

 

 

Methods Summary
ChartLegendItem bind(java.lang.Object source, ChartLegendItem existingItem)
    
Transfers value from source.

 

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

 

 

 

 

ChartLegendItemsBinder

 

public ChartLegendItemsBinder( )

 

Constructor

 

Since: 1.5.4

 

 

 

ChartLegendItemsBinder

 

public ChartLegendItemsBinder( java.lang.String pattern)

 

Constructor

 

Parameters:
pattern-
chart - string analyzed for occurrence keyword substrings.

 

Since: 1.5.4
See also: {@link ChartPointAttributes#setLabelFormat(String)}

 

 

 

 

bind

 

public ChartLegendItem bind( java.lang.Object source,
ChartLegendItem existingItem)

 

[ description from IItemBinder.bind(java.lang.Object,T) ]
 
Transfers value from source. Per design, method is used to convert source value to instance of T type.

 

Parameters:
source-
source item that should be transfered.
existingItem-
optional existing item that could be used to avoid creation of instance of returning value.
Returns:
transfered source.

 

Implements: IItemBinder.bind(Object,T)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.