|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--vipratech.awt.VPanel | +--vipratech.beans.userbeans.NumericInput
This bean show a numeric inputfield which can be use for getting value to control something(volumeflow).
The Label can translate with the key value in the Lanugagefile
It communicate with other beans about PropertyValue "Numeric".
Fields inherited from class vipratech.awt.VPanel |
fm |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
NumericInput()
The Constructor |
Method Summary | |
void |
addAdjustmentFloatListener(AdjustmentFloatListener l)
Allows this component to be unwired at design time with adjustmentfloatlisteners |
void |
addKeyListener(java.awt.event.KeyListener listener)
Allows this component to be wired at design time with action listeners |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Allows property change listeners to be registered at design time. |
void |
focusGained(java.awt.event.FocusEvent event)
Method to handle the focus event gain |
void |
focusLost(java.awt.event.FocusEvent event)
Method to handle the focus event focus lost |
int |
getDecimalplaces()
Method to get the inkrement value in the textfield |
boolean |
getEnabled()
Returns the enabled state of the button. |
float |
getInkrement()
Method to get the inkrement value in the textfield |
java.lang.String |
getKey()
Returns the key for the component. |
java.lang.String |
getLabel()
Method to get the text from the label |
float |
getMaximumvalue()
Method to get the maximum value in the textfield |
int |
getMinimumlength()
Method to get the length of the label + the textfield |
java.awt.Dimension |
getMinimumSize()
Returns the minimum size of this component |
float |
getMinimumvalue()
Method to get the minimum value in the textfield |
java.lang.Float |
getOldValue()
|
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of this component. |
int |
getStringlength()
Method to get the length of the String in the textfield |
java.lang.String |
getUnit()
Method to get the unit of the value |
java.lang.Float |
getValue()
Method to get the value in the textfield or which is calculated |
void |
init()
Method to show everything on the Screen |
boolean |
isLabelon()
Method to get is label on or off |
boolean |
isUniton()
Method to get the status of the unit |
boolean |
ondown(int x4,
int y4)
Measure the mouseposition and return true if it is on the down Spinner |
boolean |
onup(int x3,
int y3)
Measure the mouseposition and return true if it is on the up Spinner |
void |
paint(java.awt.Graphics g)
Method to paint the Spinner |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Allows this component to be wired up to vipratech.beans.standardbeans.LanguageChoice at design time and the connectinbg to vipratech.beans.userbeans.NumericInput. |
void |
removeAdjustmentFloatListener(AdjustmentFloatListener l)
Allows this component to be wired at design time with adjustmentfloatlisteners |
void |
removeKeyListener(java.awt.event.KeyListener listener)
Allows this component to be un-wired at design time with action listeners |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Allows property change listeners to be de-registered at design time. |
void |
setDecimalplaces(int newDecimalplaces)
Method to set the decimalplaces in the textfield |
void |
setEnabled(boolean enabled)
Allows the button to be disabled. |
void |
setInkrement(float newInkrement)
Method to set the inkrement value in the textfield important the inkrement must be the samw or lower then the decimalplaces |
void |
setKey(java.lang.String key)
Sets a key for the component. |
void |
setLabel(java.lang.String newLabel)
Method to set the text on the label |
void |
setLabelon(boolean newLabelon)
Method to set the label visbile |
void |
setLocale(java.util.Locale locale)
Method to set the Locale |
void |
setMaximumvalue(float newMaximumvalue)
Method to set the maximum value in the textfield |
void |
setMinimumvalue(float newMinimumvalue)
Method to set the minimum value in the textfield |
void |
setOldValue(float Value)
|
void |
setStringlength(int newStringlength)
Method to set the length of the String in the textfield |
void |
setUnit(java.lang.String newUnit)
Method to set the unit of the value |
void |
setUniton(boolean newUniton)
Method to set the unit on/off |
void |
setValue(float newValue)
Method to set the value in the textfield or which is calculated |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setForeground,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NumericInput()
Method Detail |
public void init()
public void focusGained(java.awt.event.FocusEvent event)
public void focusLost(java.awt.event.FocusEvent event)
public final void setEnabled(boolean enabled)
public final boolean getEnabled()
public void addKeyListener(java.awt.event.KeyListener listener)
public void removeKeyListener(java.awt.event.KeyListener listener)
public boolean onup(int x3, int y3)
public boolean ondown(int x4, int y4)
public void paint(java.awt.Graphics g)
public int getMinimumlength()
public void setStringlength(int newStringlength)
public int getStringlength()
TextField.getColumns()
public void setLabel(java.lang.String newLabel)
Label.setText(java.lang.String)
public java.lang.String getLabel()
public void setLabelon(boolean newLabelon)
public boolean isLabelon()
public void setKey(java.lang.String key)
public java.lang.String getKey()
public void setLocale(java.util.Locale locale)
public void propertyChange(java.beans.PropertyChangeEvent event)
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
public void removeAdjustmentFloatListener(AdjustmentFloatListener l)
public void addAdjustmentFloatListener(AdjustmentFloatListener l)
public final java.awt.Dimension getMinimumSize()
public final java.awt.Dimension getPreferredSize()
public void setMaximumvalue(float newMaximumvalue)
public float getMaximumvalue()
public void setMinimumvalue(float newMinimumvalue)
public float getMinimumvalue()
public void setInkrement(float newInkrement)
public float getInkrement()
public java.lang.Float getValue()
public void setValue(float newValue)
public void setOldValue(float Value)
public java.lang.Float getOldValue()
public void setDecimalplaces(int newDecimalplaces)
setInkrement(float)
public int getDecimalplaces()
public void setUnit(java.lang.String newUnit)
public java.lang.String getUnit()
public void setUniton(boolean newUniton)
public boolean isUniton()
|
dathe@chemie.uni-leipzig.de" | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |