Class UILibraryHelper
- java.lang.Object
-
- ca.cgjennings.apps.arkham.plugins.UILibraryHelper
-
public final class UILibraryHelper extends java.lang.ObjectHelper methods and classes used to support implementation of the UI script libraries (uicontrols, uilayout, and uibindings). This class is public only to allow access from script code; there is no need for regular code to refer to this class.- Since:
- 2.1
- Author:
- Chris Jennings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUILibraryHelper.BindableGroupA button group that supports including the group in a Bindings script object.static classUILibraryHelper.CodeAreastatic classUILibraryHelper.TintableBindingSupport class used to implement the binding ofHSBPanels to tint settings in the uibindings library.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JComponentcreateCodeArea()Creates a new control that can be used to edit script content.static javax.swing.JOptionPanecreatePane(java.lang.Object[] content, javax.swing.Icon icon)static javax.swing.JPanelcreateStack(java.lang.Object[] content)Support method used to help implement container layout for the Stack layout container.
-
-
-
Method Detail
-
createStack
public static javax.swing.JPanel createStack(java.lang.Object[] content)
Support method used to help implement container layout for the Stack layout container.- Parameters:
content- the objects to stack- Returns:
- a panel containing the layout
-
createPane
public static javax.swing.JOptionPane createPane(java.lang.Object[] content, javax.swing.Icon icon)
-
createCodeArea
public static javax.swing.JComponent createCodeArea()
Creates a new control that can be used to edit script content. Used by the uicontrols library.- Returns:
- a new script editing component
-
-