站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

BooleanEditor (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.util.propertyeditor
Class BooleanEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.util.propertyeditor.BooleanEditor
All Implemented Interfaces:
PropertyEditor

public class BooleanEditor
extends PropertyEditorSupport

A property editor for Boolean.

Version:
$Revision: 1.4 $
Author:
Scott.Stark@jboss.org

Constructor Summary
BooleanEditor()
           
 
Method Summary
 String[] getTags()
           
 void setAsText(String text)
          Map the argument text into Boolean.TRUE or Boolean.FALSE using Boolean.valueOf.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanEditor

public BooleanEditor()
Method Detail

setAsText

public void setAsText(String text)
Map the argument text into Boolean.TRUE or Boolean.FALSE using Boolean.valueOf.


getTags

public String[] getTags()
Returns:
the values {"true", "false"}


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.