org.superbiz.enventries
Class PickupEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.superbiz.enventries.PickupEditor
- All Implemented Interfaces:
- PropertyEditor
public class PickupEditor
- extends PropertyEditorSupport
With a java.beans.PropertyEditor, you can go way beyond the built-in
types that OpenEJB supports and can extend dependency injection to
just about anywhere.
In the world of electric guitars, two types of pickups are used: humbucking, and single-coil.
Guitarists often refer to their guitars as HSS, meaning a guitar with 1 humbucker and
2 single coil pickups, and so on. This little PropertyEditor supports that shorthand notation.
- Version:
- $Revision$ $Date$
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PickupEditor
public PickupEditor()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.