public class DoubleField extends Composite implements ModifyListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
decimalNumberFormat |
| Constructor and Description |
|---|
DoubleField(Composite parent,
int style,
IPrintPreferences prefs,
int index)
Creates a new DoubleField.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModifyListener(ModifyListener listener) |
Text |
getText() |
void |
modifyText(ModifyEvent e) |
void |
setEnabled(boolean en) |
void |
updateControl()
Updates control according to value in the IPrintPreferences.
|
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisAutoScalablepublic static final java.lang.String decimalNumberFormat
public DoubleField(Composite parent, int style, IPrintPreferences prefs, int index)
public void setEnabled(boolean en)
setEnabled in class Controlpublic void updateControl()
public Text getText()
public void addModifyListener(ModifyListener listener)
public void modifyText(ModifyEvent e)
modifyText in interface ModifyListener