Package com.ribs.plus
Class RJMenuButtonHpr
java.lang.Object
com.ribs.RJHelper
com.ribs.helpers.JButtonOrLabelHpr
com.ribs.helpers.JLabelHpr
com.ribs.plus.RJMenuButtonHpr
Implements Ribs helpers methods for RJMenuButton.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromXML
(JComponent aComponent, RXArchiver anArchiver, RXElement anElement) XML unarchival.getComponent
(JComponent aComponent, int anIndex) Returns the Ribs-relevant child component at the given index.int
getComponentCount
(JComponent aComponent) Returns the Ribs-relevant child component count.newInstance
(RXElement anElement) Creates a new instance of class for given element.toXML
(JComponent aComponent, RXArchiver anArchiver) XML archival.Methods inherited from class com.ribs.helpers.JLabelHpr
getStringValue, setValue
Methods inherited from class com.ribs.helpers.JButtonOrLabelHpr
getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getImageName, getText, getVerticalAlignment, getVerticalTextPosition, setHorizontalAlignment, setHorizontalTextPosition, setIcon, 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
-
Constructor Details
-
RJMenuButtonHpr
public RJMenuButtonHpr()
-
-
Method Details
-
newInstance
Creates a new instance of class for given element.- Overrides:
newInstance
in classJLabelHpr
-
getComponentCount
Returns the Ribs-relevant child component count.- Overrides:
getComponentCount
in classRJHelper
-
getComponent
Returns the Ribs-relevant child component at the given index.- Overrides:
getComponent
in classRJHelper
-
toXML
XML archival. -
fromXML
XML unarchival.- Overrides:
fromXML
in classJButtonOrLabelHpr
-