Class 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
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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