Package com.ribs.helpers
Class JSliderHpr
java.lang.Object
com.ribs.RJHelper
com.ribs.helpers.JSliderHpr
This class is a RJHelper implementation for JSlider.
Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill <info@reportmill.com>.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromXML
(JComponent aComponent, RXArchiver anArchiver, RXElement anElement) XML unarchival.float
getFloatValue
(JComponent aComponent) Returns the float value of the slider.int
getIntValue
(JComponent aComponent) Returns the int value of the slider.getValue
(JComponent aComponent) Returns a component's value.void
initInstance
(JComponent aComponent) Initializes the given instance (actually called the first time an owner is set).newInstance
(RXElement anElement) Creates a new instance of class for given element.void
setValue
(JComponent aComponent, float aValue) Sets the float value of the slider.void
setValue
(JComponent aComponent, int aValue) Sets the int value of the slider.void
setValue
(JComponent aComponent, Object anObj) Sets a components value.toXML
(JComponent aComponent, RXArchiver anArchiver) XML archival.Methods inherited from class com.ribs.RJHelper
add, focusGained, focusLost, fromXMLDeep, get, getActionListener, getAutoscrolls, getAutosizing, getBackground, getBindKey, getBooleanValue, getBoolValue, getCallback, getChangeListener, getColorValue, getComponent, getComponentCount, getFocusListener, getForeground, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getStringValue, getSubstitutionClassString, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
-
Constructor Details
-
JSliderHpr
public JSliderHpr()
-
-
Method Details
-
newInstance
Creates a new instance of class for given element.- Overrides:
newInstance
in classRJHelper
-
initInstance
Initializes the given instance (actually called the first time an owner is set).- Overrides:
initInstance
in classRJHelper
-
getValue
Returns a component's value. -
setValue
Sets a components value. -
getIntValue
Returns the int value of the slider.- Overrides:
getIntValue
in classRJHelper
-
setValue
Sets the int value of the slider. -
getFloatValue
Returns the float value of the slider.- Overrides:
getFloatValue
in classRJHelper
-
setValue
Sets the float value of the slider. -
toXML
XML archival. -
fromXML
XML unarchival.
-