Class AbstractElementFactory<T extends NativeObjectContainer>
- java.lang.Object
- 
- org.pepstock.charba.client.options.AbstractElementFactory<T>
 
- 
- All Implemented Interfaces:
- NativeObjectContainerFactory<T>,- ElementFactory<T>
 
 public abstract class AbstractElementFactory<T extends NativeObjectContainer> extends Object implements ElementFactory<T> Abstract implementation to get custom elements fromOptions.getElements().- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractElementFactory(String elementKeyAsString)Creates the factory by the key of object, as string.protectedAbstractElementFactory(Key elementKey)Creates the factory by the key of object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KeygetElementKey()Returns the object key of the element.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.commons.NativeObjectContainerFactorycreate, create
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractElementFactoryprotected AbstractElementFactory(String elementKeyAsString) Creates the factory by the key of object, as string.- Parameters:
- elementKeyAsString- the key of object, as string.
 
 - 
AbstractElementFactoryprotected AbstractElementFactory(Key elementKey) Creates the factory by the key of object.- Parameters:
- elementKey- the key of object.
 
 
- 
 - 
Method Detail- 
getElementKeypublic final Key getElementKey() Description copied from interface:ElementFactoryReturns the object key of the element.- Specified by:
- getElementKeyin interface- ElementFactory<T extends NativeObjectContainer>
- Returns:
- the object key of the element
 
 
- 
 
-