Class DefaultDemoSelector
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.demo.util.DefaultDemoSelector
-
- All Implemented Interfaces:
DemoSelector
public class DefaultDemoSelector extends Object implements DemoSelector
A simple demo selector implementation. A demo selector is used by the CompoundFrame to collect and display all available demos.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description DefaultDemoSelector(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(DemoSelector selector)
void
addDemo(DemoHandler handler)
int
getChildCount()
DemoSelector[]
getChilds()
int
getDemoCount()
DemoHandler[]
getDemos()
String
getName()
-
-
-
Constructor Detail
-
DefaultDemoSelector
public DefaultDemoSelector(String name)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceDemoSelector
-
addChild
public void addChild(DemoSelector selector)
-
getChilds
public DemoSelector[] getChilds()
- Specified by:
getChilds
in interfaceDemoSelector
-
addDemo
public void addDemo(DemoHandler handler)
-
getDemos
public DemoHandler[] getDemos()
- Specified by:
getDemos
in interfaceDemoSelector
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfaceDemoSelector
-
getDemoCount
public int getDemoCount()
- Specified by:
getDemoCount
in interfaceDemoSelector
-
-