org.seasar.tuigwaa.util.ajax
クラス AbstractRowSetForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.seasar.tuigwaa.util.ajax.AbstractRowSetForm
- すべての実装インタフェース:
- Ajaxlizable, org.apache.commons.collections.Factory, RowSetForm, Serializable
- 直系の既知のサブクラス:
- AbstractFieldFilterForm, AggregationForm, CustomFormForm, EntityForm, RecordTableForm, UpdateRuleForm
- public abstract class AbstractRowSetForm
- extends org.apache.struts.validator.ValidatorForm
- implements Ajaxlizable, RowSetForm, org.apache.commons.collections.Factory
- 作成者:
- nishioka
- 関連項目:
- 直列化された形式
クラス org.apache.struts.validator.ValidatorForm から継承したフィールド |
page, validatorResults |
クラス org.apache.struts.action.ActionForm から継承したフィールド |
multipartRequestHandler, servlet |
メソッドの概要 |
void |
addEvent(AjaxEvent event)
|
protected void |
addRow(Object row)
|
protected void |
addRowAll(Collection col)
|
String[] |
addRowByAjax()
|
protected static void |
bindTypeEvent(com.isenshi.util.HtmlBuffer buf)
|
protected static void |
bindTypeEvent(com.isenshi.util.HtmlBuffer buf,
String event)
|
Object |
create()
create method for commons-collection.Factory. |
protected org.json.JSONObject |
createJSONObject(int index,
String[] data)
|
protected abstract Object |
createNewRow()
|
protected static String |
createRemoveButtonHtml(int index,
String label)
|
protected abstract Object |
createRow(int index,
String value)
|
protected static String |
createTextArea(String name,
String value)
|
protected static String |
createTextField(String name)
|
protected static String |
createTextField(String name,
String value)
|
protected static String |
createTextField(String name,
String value,
int length)
|
protected String |
getHtmlCell(int rowIndex,
int columnIndex,
String value)
|
protected abstract String[] |
getHtmlData(int index,
Object row)
|
protected int |
getLastIndex()
|
protected String |
getMessage(String key)
|
static String |
getPrefix(int index)
|
Object |
getRow(int index)
|
List |
getRowSet()
|
String |
getSharedKey()
|
Object[] |
initializeByAjax()
|
boolean |
isChangedRowElement()
|
boolean |
isSharable()
|
protected Object |
removeRow(int index)
|
protected abstract void |
removeRow(int index,
Object row)
|
int |
removeRowByAjax(int index)
|
String |
replaceCellByAjax(int rowIndex,
int columnIndex,
String value)
|
protected void |
replaceRow(int index,
Object replacement)
|
String |
replaceRowByAjax(int index,
String value)
|
protected List |
retrieveEvents()
|
protected void |
sendEvent(AjaxEvent event)
|
void |
setChangedRowElement(boolean changedRowElement)
|
void |
setRowSet(List columnList)
|
void |
setSharedObject(SharedObjects objs)
|
クラス org.apache.struts.validator.ValidatorForm から継承したメソッド |
getPage, getResultValueMap, getValidationKey, getValidatorResults, reset, setPage, setValidatorResults, validate |
クラス org.apache.struts.action.ActionForm から継承したメソッド |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRowSetForm
public AbstractRowSetForm()
initializeByAjax
public final Object[] initializeByAjax()
throws Exception
- 例外:
Exception
removeRowByAjax
public final int removeRowByAjax(int index)
addRowByAjax
public final String[] addRowByAjax()
throws Exception
- 例外:
Exception
isSharable
public boolean isSharable()
- 定義:
- インタフェース
Ajaxlizable
内の isSharable
getSharedKey
public String getSharedKey()
- 定義:
- インタフェース
Ajaxlizable
内の getSharedKey
setSharedObject
public void setSharedObject(SharedObjects objs)
- 定義:
- インタフェース
Ajaxlizable
内の setSharedObject
addEvent
public void addEvent(AjaxEvent event)
- 定義:
- インタフェース
Ajaxlizable
内の addEvent
retrieveEvents
protected final List retrieveEvents()
replaceRowByAjax
public final String replaceRowByAjax(int index,
String value)
throws Exception
- 例外:
Exception
replaceCellByAjax
public final String replaceCellByAjax(int rowIndex,
int columnIndex,
String value)
isChangedRowElement
public boolean isChangedRowElement()
setChangedRowElement
public void setChangedRowElement(boolean changedRowElement)
getMessage
protected String getMessage(String key)
removeRow
protected abstract void removeRow(int index,
Object row)
createNewRow
protected abstract Object createNewRow()
createRow
protected abstract Object createRow(int index,
String value)
getHtmlData
protected abstract String[] getHtmlData(int index,
Object row)
getPrefix
public static final String getPrefix(int index)
bindTypeEvent
protected static final void bindTypeEvent(com.isenshi.util.HtmlBuffer buf)
bindTypeEvent
protected static final void bindTypeEvent(com.isenshi.util.HtmlBuffer buf,
String event)
addRowAll
protected final void addRowAll(Collection col)
replaceRow
protected final void replaceRow(int index,
Object replacement)
addRow
protected void addRow(Object row)
removeRow
protected Object removeRow(int index)
sendEvent
protected final void sendEvent(AjaxEvent event)
getRowSet
public final List getRowSet()
setRowSet
public final void setRowSet(List columnList)
getRow
public final Object getRow(int index)
getLastIndex
protected final int getLastIndex()
createJSONObject
protected org.json.JSONObject createJSONObject(int index,
String[] data)
createRemoveButtonHtml
protected static final String createRemoveButtonHtml(int index,
String label)
createTextField
protected static String createTextField(String name)
createTextField
protected static String createTextField(String name,
String value)
createTextField
protected static String createTextField(String name,
String value,
int length)
createTextArea
protected static String createTextArea(String name,
String value)
getHtmlCell
protected String getHtmlCell(int rowIndex,
int columnIndex,
String value)
create
public Object create()
- create method for commons-collection.Factory.
- 定義:
- インタフェース
org.apache.commons.collections.Factory
内の create
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.