Summ:  Nested Constr. Methods    Details:  Constr. Methods   
com.artfulbits.aiCharts.Drawable
Class ChartSeriesDrawable

java.lang.Object android.graphics.drawable.Drawable com.artfulbits.aiCharts.Drawable.ChartSeriesDrawable

Declaration: public class ChartSeriesDrawable extends android.graphics.drawable.Drawable

 

Represents drawable chart series. This class wraps ChartSeries object in order to draw it.

 

Since: 1.0

 

 

Nested Members Summary

 

Nested members inherited from class: android.graphics.drawable.Drawable
Drawable.Callback, Drawable.ConstantState

 

 

Constructors Summary
ChartSeriesDrawable(ChartSeries series)
    
Initializes a new instance of ChartSeriesDrawable class with specified series.

 

 

Methods Summary
void draw(android.graphics.Canvas canvas)
    
int getOpacity()
    
void setAlpha(int arg0)
    
void setColorFilter(android.graphics.ColorFilter arg0)
    

 

Methods inherited from class: android.graphics.drawable.Drawable
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isStateful, isVisible, mutate, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setLevel, setState, setVisible, unscheduleSelf

 

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

 

 

 

 

ChartSeriesDrawable

 

public ChartSeriesDrawable( ChartSeries series)

 

Initializes a new instance of ChartSeriesDrawable class with specified series.

 

Parameters:
series-
instance of ChartSeries class that should be wrapped by ChartSeriesDrawable.

 

Since: 1.0

 

 

 

 

draw

 

public void draw( android.graphics.Canvas canvas)

 

Implements: android.graphics.drawable.Drawable.draw(Canvas)

 

 

 

getOpacity

 

public int getOpacity( )

 

Implements: android.graphics.drawable.Drawable.getOpacity()

 

 

 

setAlpha

 

public void setAlpha( int arg0)

 

Implements: android.graphics.drawable.Drawable.setAlpha(int)

 

 

 

setColorFilter

 

public void setColorFilter( android.graphics.ColorFilter arg0)

 

Implements: android.graphics.drawable.Drawable.setColorFilter(ColorFilter)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.