Class Triangle
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.configurableexample.AbstractShape
-
- de.fraunhofer.iosb.ilt.configurableexample.Triangle
-
- All Implemented Interfaces:
Configurable<Object,Object>,Shape
public class Triangle extends AbstractShape
An example Configurable class.- Author:
- scf
-
-
Field Summary
-
Fields inherited from interface de.fraunhofer.iosb.ilt.configurable.Configurable
CLASS_CONFIG_EDITOR_FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description Triangle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.gson.JsonElement config, Object context, Object edtCtx, ConfigEditor<?> configEditor)EditorMapgetConfigEditor(Object context, Object edtCtx)voidpaintMe()-
Methods inherited from class de.fraunhofer.iosb.ilt.configurableexample.AbstractShape
getColor
-
-
-
-
Method Detail
-
paintMe
public void paintMe()
-
configure
public void configure(com.google.gson.JsonElement config, Object context, Object edtCtx, ConfigEditor<?> configEditor)- Specified by:
configurein interfaceConfigurable<Object,Object>- Overrides:
configurein classAbstractShape
-
getConfigEditor
public EditorMap getConfigEditor(Object context, Object edtCtx)
- Specified by:
getConfigEditorin interfaceConfigurable<Object,Object>- Overrides:
getConfigEditorin classAbstractShape
-
-