org.superbiz.enventries
Class PickupEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.superbiz.enventries.PickupEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class PickupEditor
extends java.beans.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$

Constructor Summary
PickupEditor()
           
 
Method Summary
 void setAsText(java.lang.String text)
           
 
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
 

Constructor Detail

PickupEditor

public PickupEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.