uic.output.swing
Class KDoubleNumInput
java.lang.Object
uic.output.AbstractWidget
uic.output.swing.AbstractWidget
uic.output.swing.KDoubleNumInput
public class KDoubleNumInput
- extends AbstractWidget
Fields inherited from class uic.output.AbstractWidget |
builder, BUTTON, debug, debugGrid, horizontalAlign, PROP_BACKGROUNDCOLOR, PROP_BUTTONMNEMONIC, PROP_BUTTONTEXT, PROP_FOREGROUNDCOLOR, PROP_MAXIMUMSIZE, PROP_MINIMUMSIZE, properties, sourceVersion, translator, verticalAlign, widgetElement |
Methods inherited from class uic.output.AbstractWidget |
createActions, getDoubleProperty, getHorizontalAlign, getIntProperty, getName, getSourceVersion, getVerticalAlign, getWidgetRepresenter, isHTMLtext, setBuildSettings, setDebug, setDebugGrid, setSourceVersion, setTranslator, setWidgetRepresenter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KDoubleNumInput
public KDoubleNumInput(UICBuilder builder,
Element e)
constructWidget
public String constructWidget()
- Description copied from class:
AbstractWidget
- Create the construction of the widget.
The base construction is done here, this is the first method invoced.
- Specified by:
constructWidget
in class AbstractWidget
- Returns:
- name The name of the constructed class that should be added to
a container.
getSignalActionInformation
public AbstractWidget.ActionInformation getSignalActionInformation(String signal)
- Overrides:
getSignalActionInformation
in class AbstractWidget
getSlotActionInformation
public String getSlotActionInformation(String slot)
- Overrides:
getSlotActionInformation
in class AbstractWidget
getStepFrom
protected double getStepFrom(double d)
- returns the step that seems most appropriate for the default value of the widget.
(e.g. a default value of 0.12 leads to a step of 0.01).
getFormatString
protected String getFormatString(double d)
- returns the format string that seems most appropriate for the default value of the widget.
(e.g. a default value of 0.12
leads to a format string of 0.00)
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence