public class FTextField extends javax.swing.JTextField implements java.awt.event.FocusListener, JspConvertable, java.awt.event.ActionListener, FormComponent, DBComponent, RubberStampComponent, MultiLanguage
Modifier and Type | Class and Description |
---|---|
class |
FTextField.FTextFieldDocument
FTextFieldDocument is the model of MyTextField
(by skywalker at 2000/05/08)
|
javax.swing.JTextField.AccessibleJTextField
javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.DropLocation, javax.swing.text.JTextComponent.KeyBinding
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static SelectionVector |
DEFAULT_PATTERN_VECTOR |
static int |
FLOAT_FORMAT_2_PRECISE |
static int |
FLOAT_FORMAT_3_PRECISE |
static int |
FLOAT_FORMAT_4_PRECISE |
static int |
FLOAT_FORMAT_5_PRECISE |
static int |
FLOAT_FORMAT_6_PRECISE |
static java.lang.String |
FLOAT_FORMAT_STR_2_PRECISE |
static java.lang.String |
FLOAT_FORMAT_STR_3_PRECISE |
static java.lang.String |
FLOAT_FORMAT_STR_4_PRECISE |
static java.lang.String |
FLOAT_FORMAT_STR_5_PRECISE |
static java.lang.String |
FLOAT_FORMAT_STR_6_PRECISE |
static java.lang.String[] |
formatString |
static int |
INT_FORMAT_DOLLAR |
static int |
INT_FORMAT_NONE |
static int |
INT_FORMAT_NORMAL |
static int |
INT_FORMAT_NT |
static java.lang.String |
INT_FORMAT_STR_DOLLAR |
static java.lang.String |
INT_FORMAT_STR_NONE |
static java.lang.String |
INT_FORMAT_STR_NORMAL |
static java.lang.String |
INT_FORMAT_STR_NT |
protected FTextField.FTextFieldDocument |
m_document |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
FTextField() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected javax.swing.text.Document |
createDefaultModel() |
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
java.lang.String[] |
getContentItems() |
java.lang.String |
getContentItemValue(java.lang.String contentItem) |
java.lang.String |
getDataValidateString() |
DBSave |
getDBSave() |
java.lang.Object |
getDBValue() |
DBSave |
getDefaultDBSave() |
int |
getFBorder() |
java.lang.String |
getID() |
protected boolean |
getIsAllowNull() |
protected java.lang.String |
getIsAllowNullWarning() |
protected boolean |
getIsShowWarning() |
java.lang.String |
getLabelText() |
java.util.Properties |
getLook() |
java.util.Properties |
getPackedProperties() |
SelectionVector |
getPattern() |
java.lang.String |
getPatternString() |
java.lang.String[] |
getPropertyNames() |
java.lang.String |
getPropertyValue(java.lang.String propertyName) |
protected int |
getSizeLimit() |
protected java.lang.String |
getSizeLimitWarning() |
HTMLEventDescriptor[] |
getSupportedHTMLEvents() |
protected int |
getTypeLimit() |
java.lang.String |
getTypeLimitWarning() |
WizardProperty |
getWizardProperty() |
boolean |
isZeroed() |
void |
setContentItemValue(java.lang.String contentItem,
java.lang.Object value) |
void |
setDataValidateString(java.lang.String str) |
void |
setDBSave(DBSave dbSave) |
void |
setDBValue(java.lang.Object value) |
void |
setEnabled(boolean b) |
void |
setEnabledByRunEnableScript(boolean b) |
void |
setFBorder(int fBorder) |
void |
setID(java.lang.String id) |
protected void |
setIsAllowNull(boolean _null) |
protected void |
setIsAllowNullWarning(java.lang.String warning) |
void |
setIsShowWarning(boolean b) |
void |
setLabelText(java.lang.String labelText) |
void |
setLook(java.util.Properties props) |
void |
setLook(java.util.Properties props,
java.util.HashMap<java.lang.String,java.lang.Boolean> stempParts) |
void |
setPackedProperties(java.util.Properties pros) |
void |
setPattern(SelectionVector pattern) |
void |
setPatternString(java.lang.String pattern) |
void |
setPropertyValue(java.lang.String propertyName,
java.lang.Object value) |
protected void |
setSizeLimit(int sizelimit) |
protected void |
setSizeLimitWarning(java.lang.String warning) |
protected void |
setTypeLimit(int datatype) |
void |
setTypeLimit(java.lang.String type) |
void |
setTypeLimitWarning(java.lang.String warning) |
void |
setWizardProperty(WizardProperty wizardprop) |
java.lang.String |
toString() |
actionPropertyChanged, addActionListener, configurePropertiesFromAction, createActionPropertyChangeListener, fireActionPerformed, getAccessibleContext, getAction, getActionListeners, getActions, getColumns, getColumnWidth, getHorizontalAlignment, getHorizontalVisibility, getPreferredSize, getScrollOffset, getUIClassID, isValidateRoot, paramString, postActionEvent, removeActionListener, scrollRectToVisible, setAction, setActionCommand, setColumns, setDocument, setFont, setHorizontalAlignment, setScrollOffset
addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, print, print, print, processInputMethodEvent, read, removeCaretListener, removeKeymap, removeNotify, replaceSelection, restoreComposedText, saveComposedText, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setUI, updateUI, viewToModel, write
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
public static final int INT_FORMAT_NONE
public static final int INT_FORMAT_NORMAL
public static final int INT_FORMAT_NT
public static final int INT_FORMAT_DOLLAR
public static final int FLOAT_FORMAT_2_PRECISE
public static final int FLOAT_FORMAT_3_PRECISE
public static final int FLOAT_FORMAT_4_PRECISE
public static final int FLOAT_FORMAT_5_PRECISE
public static final int FLOAT_FORMAT_6_PRECISE
public static final java.lang.String INT_FORMAT_STR_NONE
public static final java.lang.String INT_FORMAT_STR_NORMAL
public static final java.lang.String INT_FORMAT_STR_NT
public static final java.lang.String INT_FORMAT_STR_DOLLAR
public static final java.lang.String FLOAT_FORMAT_STR_2_PRECISE
public static final java.lang.String FLOAT_FORMAT_STR_3_PRECISE
public static final java.lang.String FLOAT_FORMAT_STR_4_PRECISE
public static final java.lang.String FLOAT_FORMAT_STR_5_PRECISE
public static final java.lang.String FLOAT_FORMAT_STR_6_PRECISE
public static final java.lang.String[] formatString
public static final SelectionVector DEFAULT_PATTERN_VECTOR
protected FTextField.FTextFieldDocument m_document
protected javax.swing.text.Document createDefaultModel()
createDefaultModel
in class javax.swing.JTextField
public java.lang.String getID()
getID
in interface FormComponent
public void setID(java.lang.String id)
setID
in interface FormComponent
public java.util.Properties getPackedProperties()
getPackedProperties
in interface FormComponent
public void setPackedProperties(java.util.Properties pros)
setPackedProperties
in interface FormComponent
public java.lang.String getLabelText()
public void setLabelText(java.lang.String labelText)
public HTMLEventDescriptor[] getSupportedHTMLEvents()
getSupportedHTMLEvents
in interface JspConvertable
protected final int getTypeLimit()
protected final void setTypeLimit(int datatype)
public void setTypeLimit(java.lang.String type)
public final java.lang.String getTypeLimitWarning()
public final void setTypeLimitWarning(java.lang.String warning)
public final void setPattern(SelectionVector pattern)
pattern
- a SelectionVector
consists of String
spublic final SelectionVector getPattern()
public void setPatternString(java.lang.String pattern)
public final java.lang.String getPatternString()
protected final int getSizeLimit()
protected final void setSizeLimit(int sizelimit)
protected final java.lang.String getSizeLimitWarning()
protected final void setSizeLimitWarning(java.lang.String warning)
protected final boolean getIsAllowNull()
protected final void setIsAllowNull(boolean _null)
protected final java.lang.String getIsAllowNullWarning()
protected final void setIsAllowNullWarning(java.lang.String warning)
public void setEnabledByRunEnableScript(boolean b)
public void setEnabled(boolean b)
setEnabled
in class javax.swing.JComponent
protected final boolean getIsShowWarning()
public final void setIsShowWarning(boolean b)
public java.lang.String toString()
toString
in class java.awt.Component
public WizardProperty getWizardProperty()
public final void setWizardProperty(WizardProperty wizardprop)
public final void setDataValidateString(java.lang.String str)
public final java.lang.String getDataValidateString()
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.Object getDBValue()
getDBValue
in interface DBComponent
public void setDBValue(java.lang.Object value)
setDBValue
in interface DBComponent
public DBSave getDefaultDBSave()
getDefaultDBSave
in interface DBComponent
public DBSave getDBSave()
getDBSave
in interface DBComponent
public void setDBSave(DBSave dbSave)
setDBSave
in interface DBComponent
public final void setFBorder(int fBorder)
public final int getFBorder()
public boolean isZeroed()
public void setLook(java.util.Properties props)
setLook
in interface RubberStampComponent
public void setLook(java.util.Properties props, java.util.HashMap<java.lang.String,java.lang.Boolean> stempParts)
setLook
in interface RubberStampComponent
public java.util.Properties getLook()
getLook
in interface RubberStampComponent
public java.lang.String getContentItemValue(java.lang.String contentItem)
getContentItemValue
in interface MultiLanguage
public java.lang.String[] getContentItems()
getContentItems
in interface MultiLanguage
public java.lang.String[] getPropertyNames()
getPropertyNames
in interface MultiLanguage
public java.lang.String getPropertyValue(java.lang.String propertyName)
getPropertyValue
in interface MultiLanguage
public void setContentItemValue(java.lang.String contentItem, java.lang.Object value)
setContentItemValue
in interface MultiLanguage
public void setPropertyValue(java.lang.String propertyName, java.lang.Object value)
setPropertyValue
in interface MultiLanguage
Copyright ? 2022. All Rights Reserved.