com.infoteria.swing.table
クラス ButtonCellEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--com.infoteria.swing.table.ButtonCellEditor
- すべての実装インタフェース:
- CellEditor, PropertyEditor, Serializable, TableCellEditor
- public abstract class ButtonCellEditor
- extends AbstractCellEditor
- implements PropertyEditor
セル全面がボタンで覆われたPropertyEditorです。
- 関連項目:
- 直列化された形式
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ButtonCellEditor
public ButtonCellEditor()
setClickCountToStart
public void setClickCountToStart(int count)
getClickCountToStart
public int getClickCountToStart()
getButton
protected JButton getButton()
- セルを覆うボタンを取得します。
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- 定義:
- インタフェース
CellEditor 内の isCellEditable - オーバーライド:
- クラス
AbstractCellEditor 内の isCellEditable
doClick
public void doClick()
- セルを覆うボタンをクリックします。
setProperty
public void setProperty(Property prop)
- Propertyを設定します。
- 定義:
- インタフェース
PropertyEditor 内の setProperty
getProperty
public Property getProperty()
- Propertyを取得します。
doButtonAction
protected abstract void doButtonAction(EventObject e)
- オーバーライドしてボタンがクリックされた時の処理を記述します。
getCellEditorValue
public Object getCellEditorValue()
- CellEditorの値を取得します。
- 定義:
- インタフェース
CellEditor 内の getCellEditorValue
setCellEditorValue
public void setCellEditorValue(Object o)
- CellEditorの値を設定します。
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- 定義:
- インタフェース
TableCellEditor 内の getTableCellEditorComponent
stopCellEditing
public boolean stopCellEditing()
- 定義:
- インタフェース
CellEditor 内の stopCellEditing - オーバーライド:
- クラス
AbstractCellEditor 内の stopCellEditing
cancelCellEditing
public void cancelCellEditing()
- 定義:
- インタフェース
CellEditor 内の cancelCellEditing - オーバーライド:
- クラス
AbstractCellEditor 内の cancelCellEditing
getDialogTitle
protected String getDialogTitle()
- ダイアログを表示する際のタイトルを返します。
デフォルトでは「<プロパティ表示名>の編集」という文字列を返します。