Package com.ribs.helpers
Class JLabelHpr
- java.lang.Object
-
- com.ribs.RJHelper
-
- com.ribs.helpers.JButtonOrLabelHpr
-
- com.ribs.helpers.JLabelHpr
-
- Direct Known Subclasses:
RJMenuButtonHpr
public class JLabelHpr extends JButtonOrLabelHpr
This class is a simple RJButtonOrLabel subclass to support Ribs archival and to support Ribs unified accessor model.Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill
.
-
-
Constructor Summary
Constructors Constructor Description JLabelHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStringValue(javax.swing.JComponent aComponent)Returns the label's text.java.lang.ObjectnewInstance(RXElement anElement)Creates a new instance of class for given element.voidsetValue(javax.swing.JComponent aComponent, java.lang.String aValue)Sets the label's text.RXElementtoXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)XML archival.-
Methods inherited from class com.ribs.helpers.JButtonOrLabelHpr
fromXML, 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, getComponent, getComponentCount, 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
-
-
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(RXElement anElement)
Creates a new instance of class for given element.- Overrides:
newInstancein classRJHelper
-
getStringValue
public java.lang.String getStringValue(javax.swing.JComponent aComponent)
Returns the label's text.- Overrides:
getStringValuein classRJHelper
-
setValue
public void setValue(javax.swing.JComponent aComponent, java.lang.String aValue)Sets the label's text.
-
toXML
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
XML archival.- Overrides:
toXMLin classJButtonOrLabelHpr
-
-