public class GxToolpanel
implements GxToolpanelInterface
An abstract class which represents a toolpanel which can be attached to a sidebar
Modifier and Type | Field and Description |
---|---|
BBjString | Label! The default label of the toolpanel |
Constructor and Description |
---|
GxToolpanel(BBjString label!) Construct new toolpanel |
GxToolpanel(BBjString label! , BBjString icon!) Construct new toolpanel |
Modifier and Type | Method and Description |
---|---|
JsonObject | getAsJsonObject() Get a json representation for the toolpanel |
public BBjString Label!
The default label of the toolpanel
public GxToolpanel(BBjString label!)
Construct new toolpanel
BBjString
label! the toolpanel labelpublic JsonObject getAsJsonObject()
Get a json representation for the toolpanel