Summ:  Methods    Details:  Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Interface IItemBinder
Declaration: public interface IItemBinder

 

Represents IItemBinder interface.
Sample of custom ChartPoint binder:
  private static class CustomBinder implements IItemBinder
  {
    public ChartPoint bind(Object source, Object existingItem)
    {
      ChartPoint point;      
      // Logic that converts data to point.
      return point; 
    }
  }
 

 

Since: 1.0

 

 

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

 

 

 

 

bind

 

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

 

Transfers value from source.

 

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.

 

Since: 1.0

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.