Lines Matching defs:AbstractFormatter
64 * <code>AbstractFormatter</code> that is, a
72 * <code>AbstractFormatter</code>, and don't update the value.
87 * AbstractFormatter formatter = ftf.getFormatter();
111 * <code>JFormattedTextField.AbstractFormatter</code> which is obtained from
113 * Instances of <code>JFormattedTextField.AbstractFormatter</code> are
116 * <code>JFormattedTextField.AbstractFormatter</code> can install whatever
119 * needs the <code>AbstractFormatter</code>, it will invoke
135 * <code>JFormattedTextField.AbstractFormatter</code>
138 * <code>JFormattedTextField.AbstractFormatter</code>s will make new values
141 * from the current <code>JFormattedTextField.AbstractFormatter</code>
150 * <code>AbstractFormatterFactory</code> and <code>AbstractFormatter</code>
157 * <strong>Warning:</strong> As the <code>AbstractFormatter</code> will
162 * <code>AbstractFormatter</code> will not be enforced.
224 * Factory used to obtain an instance of AbstractFormatter.
230 private AbstractFormatter format;
296 * wrapped in an appropriate <code>AbstractFormatter</code> which is
299 * @param format Format used to look up an AbstractFormatter
308 * <code>AbstractFormatter</code>. The <code>AbstractFormatter</code>
311 * @param formatter AbstractFormatter to use for formatting.
313 public JFormattedTextField(AbstractFormatter formatter) {
348 * Note that some <code>AbstractFormatter</code>s may push changes as
381 * Note that some <code>AbstractFormatter</code>s may push changes as
393 * able to return an instance of <code>AbstractFormatter</code> that is
400 * <code>AbstractFormatter</code> will be used based on the
409 * instances of <code>AbstractFormatter</code>
414 * AbstractFormatter that can format the current value.
429 * <code>AbstractFormatter</code>s
436 * Sets the current <code>AbstractFormatter</code>.
444 * <code>AbstractFormatter</code> obtained from the
450 * @param format AbstractFormatter to use for formatting
456 protected void setFormatter(AbstractFormatter format) {
457 AbstractFormatter oldFormat = this.format;
472 * Returns the <code>AbstractFormatter</code> that is used to format and
475 * @return AbstractFormatter used for formatting
477 public AbstractFormatter getFormatter() {
483 * <code>AbstractFormatter</code> obtained from the current
507 * the <code>AbstractFormatter</code> this may not return the current
519 * <code>AbstractFormatter</code> and set as the current value.
521 * <code>AbstractFormatter</code> installed.
523 * @throws ParseException if the <code>AbstractFormatter</code> is not able
527 AbstractFormatter format = getFormatter();
537 * <code>AbstractFormatter</code> as the user edits the value.
562 * this is managed by the current <code>AbstractFormatter</code>, as such
770 * this will also obtain a new <code>AbstractFormatter</code> from the
781 AbstractFormatter atf;
838 AbstractFormatter displayFormatter = new NumberFormatter();
840 AbstractFormatter editFormatter = new NumberFormatter(
854 * <code>AbstractFormatter</code> which in turn are used to format values.
856 * <code>AbstractFormatter</code>s based on the state of the
858 * <code>AbstractFormatter</code>s when the
865 * Returns an <code>AbstractFormatter</code> that can handle formatting
868 * @param tf JFormattedTextField requesting AbstractFormatter
869 * @return AbstractFormatter to handle formatting duties, a null
873 public abstract AbstractFormatter getFormatter(JFormattedTextField tf);
878 * Instances of <code>AbstractFormatter</code> are used by
881 * <code>AbstractFormatter</code>s can also enfore editing policies,
886 * An <code>AbstractFormatter</code> can only be active in
906 public static abstract class AbstractFormatter implements Serializable {
910 * Installs the <code>AbstractFormatter</code> onto a particular
936 * installing/uninstalling <code>AbstractFormatter</code> at a
961 * Uninstalls any state the <code>AbstractFormatter</code> may have
998 * <code>AbstractFormatter</code> is installed on.
1070 * Clones the <code>AbstractFormatter</code>. The returned instance
1073 * @return Copy of the AbstractFormatter
1076 AbstractFormatter formatter = (AbstractFormatter)super.clone();