public class GxSidebar
The class manages the grid sidebar and its toolpanels
Modifier and Type | Field and Description |
---|---|
BBjString | DefaultToolpanel$ The id of the default panel |
BBjNumber | HiddenByDefault! When true, the sidebar will be hidden on the first draw, visible otherwise. default is false |
LinkedHashMap | Toolpanels! A map for the registered toolpanels |
Constructor and Description |
---|
GxSidebar(BBjGridExWidget widget!) Construct new sidebar |
Modifier and Type | Method and Description |
---|---|
void | closeToolpanel(BBjString id!) Close toolpanel Close the given toolpanel |
JsonObject | getAsJsonObject() Convert the sidebar into json object |
void | openToolpanel(BBjString id!) Open toolpanel Open the given toolpanel |
void | setVisible(BBjNumber visible!) Set Visible Enable / Disable the grid sidebar |
public BBjString DefaultToolpanel$
The id of the default panel
public BBjNumber HiddenByDefault!
When true, the sidebar will be hidden on the first draw, visible otherwise. default is false
public LinkedHashMap Toolpanels!
A map for the registered toolpanels
public GxSidebar(BBjGridExWidget widget!)
Construct new sidebar
BBjGridExWidget
widget!public void closeToolpanel(BBjString id!)
Close toolpanel
Close the given toolpanel
BBjString
id$ the toolpanel idpublic JsonObject getAsJsonObject()
Convert the sidebar into json object
public void openToolpanel(BBjString id!)
Open toolpanel
Open the given toolpanel
BBjString
id$ the toolpanel idpublic void setVisible(BBjNumber visible!)
Set Visible
Enable / Disable the grid sidebar