Ribs API

com.ribs.plus
Class RJMenuButtonHpr

java.lang.Object
  extended bycom.ribs.RJHelper
      extended bycom.ribs.helpers.JButtonOrLabelHpr
          extended bycom.ribs.helpers.JLabelHpr
              extended bycom.ribs.plus.RJMenuButtonHpr

public class RJMenuButtonHpr
extends com.ribs.helpers.JLabelHpr


Constructor Summary
RJMenuButtonHpr()
           
 
Method Summary
 void fromXML(javax.swing.JComponent aComponent, com.ribs.RXArchiver anArchiver, com.ribs.RXElement anElement)
          XML unarchival.
 javax.swing.JComponent getComponent(javax.swing.JComponent aComponent, int anIndex)
          Returns the Ribs-relevant child component at the given index.
 int getComponentCount(javax.swing.JComponent aComponent)
          Returns the Ribs-relevant child component count.
 java.lang.Object newInstance(com.ribs.RXElement anElement)
          Creates a new instance of class for given element.
 com.ribs.RXElement toXML(javax.swing.JComponent aComponent, com.ribs.RXArchiver anArchiver)
          XML archival.
 
Methods inherited from class com.ribs.helpers.JLabelHpr
getStringValue, setValue
 
Methods inherited from class com.ribs.helpers.JButtonOrLabelHpr
getHorizontalAlignment, getHorizontalTextPosition, getIconTextGap, getImageName, getText, getVerticalAlignment, getVerticalTextPosition, setHorizontalAlignment, setHorizontalTextPosition, setIconTextGap, setImageName, setText, setVerticalAlignment, setVerticalTextPosition
 
Methods inherited from class com.ribs.RJHelper
add, focusGained, focusLost, fromXMLDeep, get, getActionListener, getAutoscrolls, getAutosizing, getBackground, getBindKey, getBooleanValue, getBoolValue, getCallback, getChangeListener, getColorValue, getFloatValue, getFocusListener, getForeground, getIntValue, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getSubstitutionClassString, getValue, initInstance, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RJMenuButtonHpr

public RJMenuButtonHpr()
Method Detail

newInstance

public java.lang.Object newInstance(com.ribs.RXElement anElement)
Creates a new instance of class for given element.


getComponentCount

public int getComponentCount(javax.swing.JComponent aComponent)
Returns the Ribs-relevant child component count.

Overrides:
getComponentCount in class RJHelper

getComponent

public javax.swing.JComponent getComponent(javax.swing.JComponent aComponent,
                                           int anIndex)
Returns the Ribs-relevant child component at the given index.

Overrides:
getComponent in class RJHelper

toXML

public com.ribs.RXElement toXML(javax.swing.JComponent aComponent,
                                com.ribs.RXArchiver anArchiver)
XML archival.


fromXML

public void fromXML(javax.swing.JComponent aComponent,
                    com.ribs.RXArchiver anArchiver,
                    com.ribs.RXElement anElement)
XML unarchival.


Ribs API.