com.quadrique.jbuildingblocks.gui
Class RegularExpressionFormatterDemo

java.lang.Object
  extended by com.quadrique.jbuildingblocks.gui.RegularExpressionFormatterDemo

public class RegularExpressionFormatterDemo
extends Object

A simple application used in testing a JFormattedTextField. Contains a bunch of widgets for manipluating a RegexFormatter, as well as widgets for displaying the state of the JFormattedTextField. Any change in the widgets will immediately be pushed to the RegexFormatter and the JFormattedTextField.


Constructor Summary
RegularExpressionFormatterDemo()
           
 
Method Summary
static void main(String[] args)
           
 void propertyChange(PropertyChangeEvent pce)
          Invoked when a property changes on the JFormattedTextField, resets the necessary widgets.
 void recreate()
          Resets the RegexFormatter.
 void showExample(JComboBox source)
          Resets the fields based on the selection in the JComboBox (the source).
 void showExample(com.quadrique.jbuildingblocks.gui.RegularExpressionFormatterDemo.RegexDescription re)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegularExpressionFormatterDemo

public RegularExpressionFormatterDemo()
Method Detail

showExample

public void showExample(JComboBox source)
Resets the fields based on the selection in the JComboBox (the source).

Parameters:
source - the JComboBox

showExample

public void showExample(com.quadrique.jbuildingblocks.gui.RegularExpressionFormatterDemo.RegexDescription re)

recreate

public void recreate()
Resets the RegexFormatter.


propertyChange

public void propertyChange(PropertyChangeEvent pce)
Invoked when a property changes on the JFormattedTextField, resets the necessary widgets.

Parameters:
pce - the propertychangeevent

main

public static void main(String[] args)


Copyright © 2001-2009 Quadrique Corporation. All Rights Reserved.