public class DefaultViewCustomiserFeature extends java.lang.Object implements IDefaultViewCustomiserFeature
Modifier and Type | Field and Description |
---|---|
private CanvasCustomisation |
canvas |
private GeppettoFeature |
type |
Constructor and Description |
---|
DefaultViewCustomiserFeature() |
Modifier and Type | Method and Description |
---|---|
void |
buildCustomizationFromType(Type type,
GeppettoLibrary library) |
java.lang.String |
extractColor(Variable var) |
java.lang.String |
extractData(Variable var) |
java.util.List<java.lang.String> |
extractPaths(Type type,
GeppettoLibrary library) |
JsonObject |
getDefaultViewCustomisation(Type type)
This method returns a chunk of JSON which can contribute to a default view.
|
GeppettoFeature |
getType() |
private GeppettoFeature type
private CanvasCustomisation canvas
public GeppettoFeature getType()
public JsonObject getDefaultViewCustomisation(Type type)
IDefaultViewCustomiserFeature
getDefaultViewCustomisation
in interface IDefaultViewCustomiserFeature
public java.util.List<java.lang.String> extractPaths(Type type, GeppettoLibrary library)
public java.lang.String extractData(Variable var)
public java.lang.String extractColor(Variable var)
public void buildCustomizationFromType(Type type, GeppettoLibrary library)