Class UILibraryHelper
- java.lang.Object
-
- ca.cgjennings.apps.arkham.plugins.UILibraryHelper
-
public final class UILibraryHelper extends java.lang.Object
Helper 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 class
UILibraryHelper.BindableGroup
A button group that supports including the group in a Bindings script object.static class
UILibraryHelper.CodeArea
static class
UILibraryHelper.TintableBinding
Support class used to implement the binding ofHSBPanel
s to tint settings in the uibindings library.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JComponent
createCodeArea()
Creates a new control that can be used to edit script content.static javax.swing.JOptionPane
createPane(java.lang.Object[] content, javax.swing.Icon icon)
static javax.swing.JPanel
createStack(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
-
-