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

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


org.jboss.util.propertyeditor
Class DateEditor

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

public class DateEditor
extends TextPropertyEditorSupport

A property editor for Date.

Version:
$Revision: 1.4 $
Author:
Jason Dillon, David Jencks

Constructor Summary
DateEditor()
           
 
Method Summary
 Object getValue()
          Returns a Date for the input object converted to a string.
 
Methods inherited from class org.jboss.util.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, 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

DateEditor

public DateEditor()
Method Detail

getValue

public Object getValue()
Returns a Date for the input object converted to a string.

Returns:
a Date object


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