com.infoteria.asteria.flowbuilder2.event
Class CategoryPropertyEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.infoteria.asteria.flowbuilder2.event.CategoryPropertyEvent
All Implemented Interfaces:
Serializable

public class CategoryPropertyEvent
extends EventObject

CategoryProperty変更イベント

See Also:
Serialized Form

Field Summary
static int ITEM_ADDED
          CategoryPropertyに行が追加された
static int ITEM_REMOVED
          CategoryPropertyの行が削除された
static int PROPERTY_CHANGED
          CategoryPropertyの値が変更された
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CategoryPropertyEvent(CategoryProperty catProp, CategoryItem item, int index, int id)
           
CategoryPropertyEvent(CategoryProperty catProp, CategoryItem item, int index, String propName, Object oldValue, Object newValue, int id)
           
 
Method Summary
 void addUndo(UndoableEdit undo)
          CategoryProperty変更のUndoに別のUndoを追加します。
 CategoryProperty getCategoryProperty()
          変更が起こったCategoryPropertyを取得します。
 int getId()
           
 int getIndex()
          変更が起こったCategoryItemの行番号を取得します。
 CategoryItem getItem()
          変更が起こったCategoryItemを取得します。
 Object getNewValue()
          PRPERTY_CHANGEDイベント時に変更後の値を取得します。
 Object getOldValue()
          PRPERTY_CHANGEDイベント時に変更前の値を取得します。
 String getPropertyName()
          PRPERTY_CHANGEDイベント時に変更された列名を取得します。
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_CHANGED

public static final int PROPERTY_CHANGED
CategoryPropertyの値が変更された

ITEM_ADDED

public static final int ITEM_ADDED
CategoryPropertyに行が追加された

ITEM_REMOVED

public static final int ITEM_REMOVED
CategoryPropertyの行が削除された
Constructor Detail

CategoryPropertyEvent

public CategoryPropertyEvent(CategoryProperty catProp,
                             CategoryItem item,
                             int index,
                             int id)

CategoryPropertyEvent

public CategoryPropertyEvent(CategoryProperty catProp,
                             CategoryItem item,
                             int index,
                             String propName,
                             Object oldValue,
                             Object newValue,
                             int id)
Method Detail

getCategoryProperty

public CategoryProperty getCategoryProperty()
変更が起こったCategoryPropertyを取得します。

getItem

public CategoryItem getItem()
変更が起こったCategoryItemを取得します。

getIndex

public int getIndex()
変更が起こったCategoryItemの行番号を取得します。

getPropertyName

public String getPropertyName()
PRPERTY_CHANGEDイベント時に変更された列名を取得します。

getOldValue

public Object getOldValue()
PRPERTY_CHANGEDイベント時に変更前の値を取得します。

getNewValue

public Object getNewValue()
PRPERTY_CHANGEDイベント時に変更後の値を取得します。

getId

public int getId()

addUndo

public void addUndo(UndoableEdit undo)
CategoryProperty変更のUndoに別のUndoを追加します。