Package org.ajax4jsf.component

Examples of org.ajax4jsf.component.UIDataAdaptor$DataState


  /* (non-Javadoc)
   * @see org.richfaces.renderkit.AbstractRowsRenderer#doCleanup(org.richfaces.renderkit.TableHolder)
   */
  protected void doCleanup(FacesContext context, TableHolder tableHolder) throws IOException {
    int rest = 0;
    UIDataAdaptor table = tableHolder.getTable();
    ResponseWriter writer = context.getResponseWriter();
    Integer columns = (Integer) table.getAttributes().get("columns");
   
    boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false
    int cols = isCleanable ? columns.intValue():1;
   
    rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*cols;
 
View Full Code Here


   *      java.lang.Object, java.lang.Object)
   */
  public void process(FacesContext context, Object rowKey, Object argument)
      throws IOException {
    TableHolder holder = (TableHolder) argument;
    UIDataAdaptor table = holder.getTable();
    table.setRowKey(context, rowKey);
    encodeOneRow(context, holder);
    holder.nextRow();
  }
View Full Code Here

   * @param component
   * @throws IOException
   */
  protected void encodeRows(FacesContext context, UIComponent component, TableHolder tableHolder)
      throws IOException {
    UIDataAdaptor table = (UIDataAdaptor) component;
    Object key = table.getRowKey();
    table.captureOrigValue(context);
    table.walk(context, this, tableHolder);
    doCleanup(context, tableHolder);
    table.setRowKey(key);
    table.restoreOrigValue(context);
  }
View Full Code Here

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.DATA_STATE: {
            DataState dataState = (DataState) theEObject;
            T result = caseDataState(dataState);
            if (result == null)
                result = caseBaseElement(dataState);
            if (result == null)
                result = defaultCase(theEObject);
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetDataState(DataState newDataState, NotificationChain msgs) {
        DataState oldDataState = dataState;
        dataState = newDataState;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
                    Bpmn2Package.DATA_STORE_REFERENCE__DATA_STATE, oldDataState, newDataState);
            if (msgs == null)
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetDataState(DataState newDataState, NotificationChain msgs) {
        DataState oldDataState = dataState;
        dataState = newDataState;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
                    Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE, oldDataState, newDataState);
            if (msgs == null)
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetDataState(DataState newDataState, NotificationChain msgs) {
        DataState oldDataState = dataState;
        dataState = newDataState;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
                    Bpmn2Package.DATA_OBJECT_REFERENCE__DATA_STATE, oldDataState, newDataState);
            if (msgs == null)
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetDataState(DataState newDataState, NotificationChain msgs) {
        DataState oldDataState = dataState;
        dataState = newDataState;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
                    Bpmn2Package.DATA_OBJECT__DATA_STATE, oldDataState, newDataState);
            if (msgs == null)
View Full Code Here

TOP

Related Classes of org.ajax4jsf.component.UIDataAdaptor$DataState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.