Dashboard Builder Data Displayer API 6.1.0.CR2

org.jboss.dashboard.displayer
Class AbstractDataDisplayer

java.lang.Object
  extended by org.jboss.dashboard.displayer.AbstractDataDisplayer
All Implemented Interfaces:
Cloneable, DataDisplayer

public abstract class AbstractDataDisplayer
extends Object
implements DataDisplayer

Base class for the implementation of custom data displayers.


Field Summary
protected  DataDisplayerRenderer dataDisplayerRenderer
           
protected  DataDisplayerType dataDisplayerType
           
protected  DataProvider dataProvider
           
 
Constructor Summary
protected AbstractDataDisplayer()
           
 
Method Summary
 void copyFrom(DataDisplayer sourceDisplayer)
          Copies the configuration of one displayer into this.
 DataDisplayerRenderer getDataDisplayerRenderer()
          The library used to render the displayer.
 DataDisplayerType getDataDisplayerType()
          The type of this displayer.
 DataProvider getDataProvider()
          The data provider which feeds this displayer with data.
 void setDataDisplayerRenderer(DataDisplayerRenderer renderer)
           
 void setDataDisplayerType(DataDisplayerType type)
           
 void setDataProvider(DataProvider dp)
           
 void setDefaultSettings()
          Restore the default settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataDisplayerType

protected DataDisplayerType dataDisplayerType

dataDisplayerRenderer

protected DataDisplayerRenderer dataDisplayerRenderer

dataProvider

protected DataProvider dataProvider
Constructor Detail

AbstractDataDisplayer

protected AbstractDataDisplayer()
Method Detail

getDataDisplayerType

public DataDisplayerType getDataDisplayerType()
Description copied from interface: DataDisplayer
The type of this displayer.

Specified by:
getDataDisplayerType in interface DataDisplayer

setDataDisplayerType

public void setDataDisplayerType(DataDisplayerType type)
Specified by:
setDataDisplayerType in interface DataDisplayer

setDataProvider

public void setDataProvider(DataProvider dp)
Specified by:
setDataProvider in interface DataDisplayer

getDataProvider

public DataProvider getDataProvider()
Description copied from interface: DataDisplayer
The data provider which feeds this displayer with data.

Specified by:
getDataProvider in interface DataDisplayer

getDataDisplayerRenderer

public DataDisplayerRenderer getDataDisplayerRenderer()
Description copied from interface: DataDisplayer
The library used to render the displayer.

Specified by:
getDataDisplayerRenderer in interface DataDisplayer

setDataDisplayerRenderer

public void setDataDisplayerRenderer(DataDisplayerRenderer renderer)
Specified by:
setDataDisplayerRenderer in interface DataDisplayer

setDefaultSettings

public void setDefaultSettings()
Description copied from interface: DataDisplayer
Restore the default settings.

Specified by:
setDefaultSettings in interface DataDisplayer

copyFrom

public void copyFrom(DataDisplayer sourceDisplayer)
Description copied from interface: DataDisplayer
Copies the configuration of one displayer into this.

Specified by:
copyFrom in interface DataDisplayer
Parameters:
sourceDisplayer - The displayer with the configuration to copy.

Dashboard Builder Data Displayer API 6.1.0.CR2

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.