Package com.ribs

Class RJPanel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JPanel

        javax.swing.JPanel.AccessibleJPanel
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      • Fields inherited from class javax.swing.JComponent

        listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Constructor Summary

      Constructors 
      Constructor Description
      RJPanel()
      Creates a new RJPanel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBinder​(RBListBinder aBinder)
      Adds a binder to the panel.
      boolean equals​(java.lang.Object anObj, java.lang.String aName)
      Returns whether a given component matches a named component.
      javax.swing.JComponent get​(java.lang.String aName)
      Get the specific child component with the given name.
      RBListBinder getBinder​(int anIndex)
      Returns the specific binder at the given index.
      RBListBinder getBinder​(java.lang.String aName)
      Returns the named binder for this panel.
      int getBinderCount()
      Returns the number of binders for this panel.
      java.lang.Boolean getBooleanValue​(java.lang.Object anObj)
      Unified GetValue to get a Boolean value from a given component.
      java.lang.Boolean getBooleanValue​(java.lang.String aName)
      Unified GetValue to get a Boolean value from a named component.
      boolean getBoolValue​(java.lang.Object anObj)
      Unified GetValue to get a boolean value from a given component.
      boolean getBoolValue​(java.lang.String aName)
      Unified GetValue to get a boolean value from a named component.
      javax.swing.JButton getButton​(java.lang.String aName)
      Returns the named child component as a JButton (convenience).
      javax.swing.ButtonGroup getButtonGroup​(java.lang.String aName)
      Return the button group in this table for the given name (creating if needed).
      java.util.Map getButtonGroups()
      Returns the Map of all named buttonGroups in the panel.
      java.awt.Dimension getClippedSize​(int w, int h)
      A utility method to constrain values to within min & max values
      java.awt.Color getColorValue​(java.lang.Object anObj)
      Unified accessor to return the color from a given component.
      java.awt.Color getColorValue​(java.lang.String aName)
      Unified accessor to return the color from a given named component.
      javax.swing.JComboBox getComboBox​(java.lang.String aName)
      Returns the named child component as a JComboBox (convenience).
      javax.swing.JComponent getComponent​(java.lang.String aName)
      Returns the named child component as a JComponent (convenience).
      RMDataSource getDataSource()
      Returns the datasource for the panel.
      float getFloatValue​(java.lang.Object anObj)
      Unified GetValue to get a float value from a given component.
      float getFloatValue​(java.lang.String aName)
      Unified GetValue to get a float value from a named component.
      int getIntValue​(java.lang.Object anObj)
      Unified GetValue to get an int value from a given component.
      int getIntValue​(java.lang.String aName)
      Unified GetValue to get an int value from a named component.
      javax.swing.JLabel getLabel​(java.lang.String aName)
      Returns the named child component as a JLabel (convenience).
      RJLayout getLayoutRB()
      Returns this panels layout manager as an RJLayout.
      javax.swing.JList getList​(java.lang.String aName)
      Returns the named child component as a JList (convenience).
      RJPanel getMaster()
      Returns the top level component of the rib file that contained this component.
      java.awt.Dimension getMaximumSize()
      Overriden to handle max the max size, if it's been set.
      javax.swing.JMenu getMenu​(java.lang.String aName)
      Returns the named child component as a JMenu (convenience).
      javax.swing.JMenuItem getMenuItem​(java.lang.String aName)
      Returns the named child component as a JMenuItem (convenience).
      java.awt.Dimension getMinimumSize()
      Overriden to handle max the min size, if it's been set.
      java.lang.Object getOwner()
      Returns the object that loaded this component.
      RJPanel getPanel​(java.lang.String aName)
      Returns the named child component as a JPanel (convenience).
      java.awt.Dimension getPreferredSize()
      Overrides component method to indicate that preferred size is current size.
      javax.swing.JProgressBar getProgressBar​(java.lang.String aName)
      Returns the named child component as a JProgressBar (convenience).
      javax.swing.JScrollPane getScrollPane​(java.lang.String aName)
      Returns the named child component as a JScrollPane (convenience).
      javax.swing.JSlider getSlider​(java.lang.String aName)
      Returns the named child component as a JSlider (convenience).
      java.lang.String getStringValue​(java.lang.Object anObj)
      Unified GetValue to get a String value from a given component.
      java.lang.String getStringValue​(java.lang.String aName)
      Unified GetValue to get a String value from a named component.
      javax.swing.JTabbedPane getTabbedPane​(java.lang.String aName)
      Returns the named child component as a JTabbedPane (convenience).
      javax.swing.JTable getTable​(java.lang.String aName)
      Returns the named child component as a JTable (convenience).
      javax.swing.JTextArea getTextArea​(java.lang.String aName)
      Returns the named child component as a JTextArea (convenience).
      javax.swing.JTextField getTextField​(java.lang.String aName)
      Returns the named child component as a JTextField (convenience).
      javax.swing.JToggleButton getToggleButton​(java.lang.String aName)
      Returns the named child component as a JToggleButton (convenience).
      javax.swing.JTree getTree​(java.lang.String aName)
      Returns the named child component as a JTree (convenience).
      java.lang.Object getValue​(java.lang.Object anObj)
      Unified GetValue to get an Object value from a given component.
      java.lang.Object getValue​(java.lang.String aName)
      Unified GetValue to get an Object value from a named component.
      boolean getValueIsAdjusting​(java.lang.Object anObj)
      Unified GetValueIsAdjusting to get isAdjusting state from a given component.
      boolean getValueIsAdjusting​(java.lang.String aName)
      Unified GetValueIsAdjusting to get isAdjusting state from a named component.
      java.awt.Window getWindow()
      Returns the window associated with this panel, creating it if necessary.
      java.lang.Class getWindowClass()
      Returns the class of the window associated with this panel.
      java.lang.String getWindowClassName()
      Returns the class name of the window associated with this panel.
      java.lang.String getWindowDefaultButton()
      Returns the name of the default button associated with this panel's window.
      boolean getWindowIsVisible()
      Obsolete - make this go soon!.
      javax.swing.JMenuBar getWindowMenuBar()
      Returns the menu bar associated with this panel's window.
      java.awt.Window getWindowOwner()
      Returns the owner-window or parent-window associated with this panel's window, such that this panel's window is the child of that window.
      java.lang.String getWindowTitle()
      Returns the title of the window associated with this panel.
      void installResizeHandler()
      Call this method to set up a listener which will honor the min & max sizes.
      boolean isWindowAlwaysOnTop()
      Returns whether the window associated with this panel is always on top.
      boolean isWindowHideOnDeactivate()
      Returns whether the window associated with this panel will hide on deactivate.
      boolean isWindowModal()
      Returns the modal mode of the window associated with this panel.
      boolean isWindowResizable()
      Returns whether the window associated with this panel is resizable.
      boolean isWindowVisible()
      Returns whether window associated with this panel is visible.
      RJPanel pack()
      This method calculates how much bigger the panel needs to be to accommodate the preferred size of all UI components and grows the panel and all controls proportionally by that amount.
      void removeBinder​(RBListBinder aBinder)
      Removes a binder from the panel.
      void setBounds​(int x, int y, int w, int h)
      Overridden to handle constraints
      void setBounds​(java.awt.Rectangle r)
      Overridden to handle constraints
      void setDataSource​(RMDataSource aDataSource)
      Sets the datasource for the panel.
      void setEnabled​(boolean aFlag)
      Overrides JComponent method to propagate to all children (which is a quick way to disable an entire panel).
      void setEnabled​(java.lang.String aName, boolean aValue)
      Calls set enabled on named child.
      void setEnabled​(javax.swing.JComponent aComponent, boolean aValue)
      Calls set enabled on referenced child.
      void setMaster​(RJPanel aMaster)
      Sets the top level component of the rib file that contained this component.
      void setMaximumSize​(java.awt.Dimension d)
      Overridden so that panel keeps private copies of min/max safely around.
      void setMinimumSize​(java.awt.Dimension d)
      Overridden so that panel keeps private copies of min/max safely around.
      void setOwner​(java.lang.Object anOwner)
      Sets the object that loaded this component.
      void setSize​(java.awt.Dimension d)
      Overridden to handle constraints
      void setValue​(java.lang.Object anObj, boolean aValue)
      Unified setValue to set a boolean value in a given component.
      void setValue​(java.lang.Object anObj, float aValue)
      Unified setValue to set an Object value in a given component.
      void setValue​(java.lang.Object anObj, int aValue)
      Unified setValue to set an int value in a given component.
      void setValue​(java.lang.Object anObj, java.awt.Color aValue)
      Unified setValue to set a Color value in a given component.
      void setValue​(java.lang.Object anObj, java.lang.Boolean aValue)
      Unified setValue to set a Boolean value in a given component.
      void setValue​(java.lang.Object anObj, java.lang.Object aValue)
      Unified setValue to set an Object value in a given component.
      void setValue​(java.lang.Object anObj, java.lang.String aValue)
      Unified setValue to set a String value in a given component.
      void setValue​(java.lang.String aName, boolean aValue)
      Unified setValue to set a boolean value in a named component.
      void setValue​(java.lang.String aName, float aValue)
      Unified setValue to set a float value in a named component.
      void setValue​(java.lang.String aName, int aValue)
      Unified setValue to set an int value in a named component.
      void setValue​(java.lang.String aName, java.awt.Color aValue)
      Unified setValue to set a Color value in a named component.
      void setValue​(java.lang.String aName, java.lang.Boolean aValue)
      Unified setValue to set a Boolean value in a named component.
      void setValue​(java.lang.String aName, java.lang.Object aValue)
      Unified setValue to set an Object value in a named component.
      void setValue​(java.lang.String aName, java.lang.String aValue)
      Unified setValue to set a String value in a named component.
      void setWindowAlwaysOnTop​(boolean aValue)
      Sets whether the window associated with this panel is always on top.
      void setWindowClassName​(java.lang.String aName)
      Sets the class name of the window associated with this panel.
      void setWindowDefaultButton​(java.lang.String aName)
      Sets the name of the default button associated with this panel's window.
      void setWindowHideOnDeactivate​(boolean aValue)
      Sets whether the window associated with this panel will hide on deacativate.
      void setWindowMenuBar​(javax.swing.JMenuBar aMenuBar)
      Sets the menu bar associated with this panel's window.
      void setWindowModal​(boolean aValue)
      Sets the modal mode of the window associated with this panel (defaults to false).
      void setWindowOwner​(java.awt.Window aWindowOwner)
      Sets the owner-window/parent-window associated with this panel's window.
      void setWindowResizable​(boolean aValue)
      Sets whether the window associated with this panel is resizable (default to true).
      void setWindowTitle​(java.lang.String aValue)
      Sets the title of the window associated with this panel.
      void setWindowVisible​(boolean aValue)
      This method sets the window associated with this panel to be visible or invisible.
      void setWindowVisible​(int x, int y, byte aCorner, java.lang.String fsaveName)
      This method set the window associated with this panel to be visible at some given x and y away from a given corner.
      void windowDispose()
      This method disposes the window associated with this panel.
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RJPanel

        public RJPanel()
        Creates a new RJPanel.
    • Method Detail

      • getOwner

        public java.lang.Object getOwner()
        Returns the object that loaded this component.
      • setOwner

        public void setOwner​(java.lang.Object anOwner)
        Sets the object that loaded this component.
      • getMaster

        public RJPanel getMaster()
        Returns the top level component of the rib file that contained this component.
      • setMaster

        public void setMaster​(RJPanel aMaster)
        Sets the top level component of the rib file that contained this component.
      • get

        public javax.swing.JComponent get​(java.lang.String aName)
        Get the specific child component with the given name.
      • getComponent

        public javax.swing.JComponent getComponent​(java.lang.String aName)
        Returns the named child component as a JComponent (convenience).
      • getPanel

        public RJPanel getPanel​(java.lang.String aName)
        Returns the named child component as a JPanel (convenience).
      • getButton

        public javax.swing.JButton getButton​(java.lang.String aName)
        Returns the named child component as a JButton (convenience).
      • getComboBox

        public javax.swing.JComboBox getComboBox​(java.lang.String aName)
        Returns the named child component as a JComboBox (convenience).
      • getLabel

        public javax.swing.JLabel getLabel​(java.lang.String aName)
        Returns the named child component as a JLabel (convenience).
      • getList

        public javax.swing.JList getList​(java.lang.String aName)
        Returns the named child component as a JList (convenience).
      • getMenu

        public javax.swing.JMenu getMenu​(java.lang.String aName)
        Returns the named child component as a JMenu (convenience).
      • getMenuItem

        public javax.swing.JMenuItem getMenuItem​(java.lang.String aName)
        Returns the named child component as a JMenuItem (convenience).
      • getProgressBar

        public javax.swing.JProgressBar getProgressBar​(java.lang.String aName)
        Returns the named child component as a JProgressBar (convenience).
      • getSlider

        public javax.swing.JSlider getSlider​(java.lang.String aName)
        Returns the named child component as a JSlider (convenience).
      • getScrollPane

        public javax.swing.JScrollPane getScrollPane​(java.lang.String aName)
        Returns the named child component as a JScrollPane (convenience).
      • getTabbedPane

        public javax.swing.JTabbedPane getTabbedPane​(java.lang.String aName)
        Returns the named child component as a JTabbedPane (convenience).
      • getTable

        public javax.swing.JTable getTable​(java.lang.String aName)
        Returns the named child component as a JTable (convenience).
      • getTextField

        public javax.swing.JTextField getTextField​(java.lang.String aName)
        Returns the named child component as a JTextField (convenience).
      • getTextArea

        public javax.swing.JTextArea getTextArea​(java.lang.String aName)
        Returns the named child component as a JTextArea (convenience).
      • getToggleButton

        public javax.swing.JToggleButton getToggleButton​(java.lang.String aName)
        Returns the named child component as a JToggleButton (convenience).
      • getTree

        public javax.swing.JTree getTree​(java.lang.String aName)
        Returns the named child component as a JTree (convenience).
      • getLayoutRB

        public RJLayout getLayoutRB()
        Returns this panels layout manager as an RJLayout.
      • getBinderCount

        public int getBinderCount()
        Returns the number of binders for this panel.
      • getBinder

        public RBListBinder getBinder​(int anIndex)
        Returns the specific binder at the given index.
      • getBinder

        public RBListBinder getBinder​(java.lang.String aName)
        Returns the named binder for this panel.
      • addBinder

        public void addBinder​(RBListBinder aBinder)
        Adds a binder to the panel.
      • removeBinder

        public void removeBinder​(RBListBinder aBinder)
        Removes a binder from the panel.
      • getButtonGroup

        public javax.swing.ButtonGroup getButtonGroup​(java.lang.String aName)
        Return the button group in this table for the given name (creating if needed).
      • getButtonGroups

        public java.util.Map getButtonGroups()
        Returns the Map of all named buttonGroups in the panel.
      • equals

        public boolean equals​(java.lang.Object anObj,
                              java.lang.String aName)
        Returns whether a given component matches a named component.
      • getValue

        public java.lang.Object getValue​(java.lang.String aName)
        Unified GetValue to get an Object value from a named component.
      • getValue

        public java.lang.Object getValue​(java.lang.Object anObj)
        Unified GetValue to get an Object value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             java.lang.Object aValue)
        Unified setValue to set an Object value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             java.lang.Object aValue)
        Unified setValue to set an Object value in a given component.
      • getStringValue

        public java.lang.String getStringValue​(java.lang.String aName)
        Unified GetValue to get a String value from a named component.
      • getStringValue

        public java.lang.String getStringValue​(java.lang.Object anObj)
        Unified GetValue to get a String value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             java.lang.String aValue)
        Unified setValue to set a String value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             java.lang.String aValue)
        Unified setValue to set a String value in a given component.
      • getBooleanValue

        public java.lang.Boolean getBooleanValue​(java.lang.String aName)
        Unified GetValue to get a Boolean value from a named component.
      • getBooleanValue

        public java.lang.Boolean getBooleanValue​(java.lang.Object anObj)
        Unified GetValue to get a Boolean value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             java.lang.Boolean aValue)
        Unified setValue to set a Boolean value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             java.lang.Boolean aValue)
        Unified setValue to set a Boolean value in a given component.
      • getBoolValue

        public boolean getBoolValue​(java.lang.String aName)
        Unified GetValue to get a boolean value from a named component.
      • getBoolValue

        public boolean getBoolValue​(java.lang.Object anObj)
        Unified GetValue to get a boolean value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             boolean aValue)
        Unified setValue to set a boolean value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             boolean aValue)
        Unified setValue to set a boolean value in a given component.
      • getIntValue

        public int getIntValue​(java.lang.String aName)
        Unified GetValue to get an int value from a named component.
      • getIntValue

        public int getIntValue​(java.lang.Object anObj)
        Unified GetValue to get an int value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             int aValue)
        Unified setValue to set an int value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             int aValue)
        Unified setValue to set an int value in a given component.
      • getFloatValue

        public float getFloatValue​(java.lang.String aName)
        Unified GetValue to get a float value from a named component.
      • getFloatValue

        public float getFloatValue​(java.lang.Object anObj)
        Unified GetValue to get a float value from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             float aValue)
        Unified setValue to set a float value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             float aValue)
        Unified setValue to set an Object value in a given component.
      • getColorValue

        public java.awt.Color getColorValue​(java.lang.String aName)
        Unified accessor to return the color from a given named component.
      • getColorValue

        public java.awt.Color getColorValue​(java.lang.Object anObj)
        Unified accessor to return the color from a given component.
      • setValue

        public void setValue​(java.lang.String aName,
                             java.awt.Color aValue)
        Unified setValue to set a Color value in a named component.
      • setValue

        public void setValue​(java.lang.Object anObj,
                             java.awt.Color aValue)
        Unified setValue to set a Color value in a given component.
      • getValueIsAdjusting

        public boolean getValueIsAdjusting​(java.lang.String aName)
        Unified GetValueIsAdjusting to get isAdjusting state from a named component.
      • getValueIsAdjusting

        public boolean getValueIsAdjusting​(java.lang.Object anObj)
        Unified GetValueIsAdjusting to get isAdjusting state from a given component.
      • setEnabled

        public void setEnabled​(java.lang.String aName,
                               boolean aValue)
        Calls set enabled on named child.
      • setEnabled

        public void setEnabled​(javax.swing.JComponent aComponent,
                               boolean aValue)
        Calls set enabled on referenced child.
      • setEnabled

        public void setEnabled​(boolean aFlag)
        Overrides JComponent method to propagate to all children (which is a quick way to disable an entire panel).
        Overrides:
        setEnabled in class javax.swing.JComponent
      • pack

        public RJPanel pack()
        This method calculates how much bigger the panel needs to be to accommodate the preferred size of all UI components and grows the panel and all controls proportionally by that amount.
      • getPreferredSize

        public java.awt.Dimension getPreferredSize()
        Overrides component method to indicate that preferred size is current size.
        Overrides:
        getPreferredSize in class javax.swing.JComponent
      • getMaximumSize

        public java.awt.Dimension getMaximumSize()
        Overriden to handle max the max size, if it's been set.
        Overrides:
        getMaximumSize in class javax.swing.JComponent
      • getMinimumSize

        public java.awt.Dimension getMinimumSize()
        Overriden to handle max the min size, if it's been set.
        Overrides:
        getMinimumSize in class javax.swing.JComponent
      • setMinimumSize

        public void setMinimumSize​(java.awt.Dimension d)
        Overridden so that panel keeps private copies of min/max safely around.
        Overrides:
        setMinimumSize in class javax.swing.JComponent
      • setMaximumSize

        public void setMaximumSize​(java.awt.Dimension d)
        Overridden so that panel keeps private copies of min/max safely around.
        Overrides:
        setMaximumSize in class javax.swing.JComponent
      • getClippedSize

        public java.awt.Dimension getClippedSize​(int w,
                                                 int h)
        A utility method to constrain values to within min & max values
      • setBounds

        public void setBounds​(java.awt.Rectangle r)
        Overridden to handle constraints
        Overrides:
        setBounds in class java.awt.Component
      • setBounds

        public void setBounds​(int x,
                              int y,
                              int w,
                              int h)
        Overridden to handle constraints
        Overrides:
        setBounds in class java.awt.Component
      • setSize

        public void setSize​(java.awt.Dimension d)
        Overridden to handle constraints
        Overrides:
        setSize in class java.awt.Component
      • installResizeHandler

        public void installResizeHandler()
        Call this method to set up a listener which will honor the min & max sizes.
      • getWindow

        public java.awt.Window getWindow()
        Returns the window associated with this panel, creating it if necessary.
      • getWindowClassName

        public java.lang.String getWindowClassName()
        Returns the class name of the window associated with this panel.
      • setWindowClassName

        public void setWindowClassName​(java.lang.String aName)
        Sets the class name of the window associated with this panel.
      • getWindowClass

        public java.lang.Class getWindowClass()
        Returns the class of the window associated with this panel.
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the title of the window associated with this panel.
      • setWindowTitle

        public void setWindowTitle​(java.lang.String aValue)
        Sets the title of the window associated with this panel.
      • isWindowResizable

        public boolean isWindowResizable()
        Returns whether the window associated with this panel is resizable.
      • setWindowResizable

        public void setWindowResizable​(boolean aValue)
        Sets whether the window associated with this panel is resizable (default to true).
      • getWindowMenuBar

        public javax.swing.JMenuBar getWindowMenuBar()
        Returns the menu bar associated with this panel's window.
      • setWindowMenuBar

        public void setWindowMenuBar​(javax.swing.JMenuBar aMenuBar)
        Sets the menu bar associated with this panel's window.
      • isWindowAlwaysOnTop

        public boolean isWindowAlwaysOnTop()
        Returns whether the window associated with this panel is always on top.
      • setWindowAlwaysOnTop

        public void setWindowAlwaysOnTop​(boolean aValue)
        Sets whether the window associated with this panel is always on top.
      • isWindowHideOnDeactivate

        public boolean isWindowHideOnDeactivate()
        Returns whether the window associated with this panel will hide on deactivate.
      • setWindowHideOnDeactivate

        public void setWindowHideOnDeactivate​(boolean aValue)
        Sets whether the window associated with this panel will hide on deacativate.
      • isWindowModal

        public boolean isWindowModal()
        Returns the modal mode of the window associated with this panel.
      • setWindowModal

        public void setWindowModal​(boolean aValue)
        Sets the modal mode of the window associated with this panel (defaults to false).
      • getWindowOwner

        public java.awt.Window getWindowOwner()
        Returns the owner-window or parent-window associated with this panel's window, such that this panel's window is the child of that window. This gives the child window the behavior of always floating above the parent, which can be useful for dialogs or inspectors.
      • setWindowOwner

        public void setWindowOwner​(java.awt.Window aWindowOwner)
        Sets the owner-window/parent-window associated with this panel's window. This isn't really supported by Swing, so we blow away the current window and re-create.
      • getWindowDefaultButton

        public java.lang.String getWindowDefaultButton()
        Returns the name of the default button associated with this panel's window.
      • setWindowDefaultButton

        public void setWindowDefaultButton​(java.lang.String aName)
        Sets the name of the default button associated with this panel's window.
      • isWindowVisible

        public boolean isWindowVisible()
        Returns whether window associated with this panel is visible.
      • setWindowVisible

        public void setWindowVisible​(boolean aValue)
        This method sets the window associated with this panel to be visible or invisible.
      • getWindowIsVisible

        public boolean getWindowIsVisible()
        Obsolete - make this go soon!.
      • setWindowVisible

        public void setWindowVisible​(int x,
                                     int y,
                                     byte aCorner,
                                     java.lang.String fsaveName)
        This method set the window associated with this panel to be visible at some given x and y away from a given corner. It also allows you to provide a "frame save name" which causes the frame's location and size to be saved between sessions (in which case it will override the default position provided).
      • windowDispose

        public void windowDispose()
        This method disposes the window associated with this panel.
      • getDataSource

        public RMDataSource getDataSource()
        Returns the datasource for the panel.
      • setDataSource

        public void setDataSource​(RMDataSource aDataSource)
        Sets the datasource for the panel.