com.infoteria.gui.property
クラス DatetimeProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.gui.property.DatetimeProperty
すべての実装インタフェース:
Cloneable, com.infoteria.gui.util.MetaData, Property
直系の既知のサブクラス:
DateProperty, TimeProperty

public class DatetimeProperty
extends AbstractProperty
implements com.infoteria.gui.util.MetaData

日時プロパティ


フィールドの概要
static String PROPERTY_TYPE
           
 
クラス com.infoteria.gui.property.AbstractProperty から継承したフィールド
_listenerList, ATTR_DISPLAY_NAME, ATTR_NAME, ATTR_READONLY, ATTR_TYPE, ATTR_VISIBLE, ELEM_PROPERTY, PROPERTY_NSURI
 
コンストラクタの概要
DatetimeProperty(PropertyHolder owner, String name)
           
DatetimeProperty(String name)
           
 
メソッドの概要
 Object getAdapter(Class clazz)
           
 DateFormat getDateFormat()
           
static String getDefaultDateFormat()
           
static String getDefaultDatetimeFormat()
           
protected  String getDefaultFormat()
           
static String getDefaultTimeFormat()
           
 String getType()
           
 String getValueAsString()
           
 void setDateFormat(DateFormat format)
           
static void setDefaultDateFormat(String s)
           
static void setDefaultDatetimeFormat(String s)
           
static void setDefaultTimeFormat(String s)
           
 void setup(Element el)
           
 UndoableEdit setValue(Object o, boolean canUndo)
           
 UndoableEdit setValueAsString(String o, boolean canUndo)
           
 
クラス com.infoteria.gui.property.AbstractProperty から継承したメソッド
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, doClone, doSetValue, getDisplayName, getEditor, getName, getOwner, getRenderer, getTooltip, getValue, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.infoteria.gui.util.MetaData から継承したメソッド
clone
 

フィールドの詳細

PROPERTY_TYPE

public static final String PROPERTY_TYPE
コンストラクタの詳細

DatetimeProperty

public DatetimeProperty(PropertyHolder owner,
                        String name)

DatetimeProperty

public DatetimeProperty(String name)
メソッドの詳細

getType

public String getType()
インタフェース Property の記述:
プロパティ型を返します。

getDefaultDatetimeFormat

public static String getDefaultDatetimeFormat()

setDefaultDatetimeFormat

public static void setDefaultDatetimeFormat(String s)

getDefaultDateFormat

public static String getDefaultDateFormat()

setDefaultDateFormat

public static void setDefaultDateFormat(String s)

getDefaultTimeFormat

public static String getDefaultTimeFormat()

setDefaultTimeFormat

public static void setDefaultTimeFormat(String s)

setup

public void setup(Element el)
定義:
インタフェース com.infoteria.gui.util.MetaData 内の setup

setDateFormat

public void setDateFormat(DateFormat format)

getDateFormat

public DateFormat getDateFormat()

getDefaultFormat

protected String getDefaultFormat()

setValue

public UndoableEdit setValue(Object o,
                             boolean canUndo)
                      throws PropertyException
インタフェース Property の記述:
プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
オーバーライド:
クラス AbstractProperty 内の setValue

setValueAsString

public UndoableEdit setValueAsString(String o,
                                     boolean canUndo)
                              throws PropertyException
インタフェース Property の記述:
プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
オーバーライド:
クラス AbstractProperty 内の setValueAsString

getValueAsString

public String getValueAsString()
インタフェース Property の記述:
プロパティ値を文字列で返します。
オーバーライド:
クラス AbstractProperty 内の getValueAsString

getAdapter

public Object getAdapter(Class clazz)
インタフェース Property の記述:
Adapterを返します。
オーバーライド:
クラス AbstractProperty 内の getAdapter