Package org.richfaces.component.UIOrderingBaseComponent

Examples of org.richfaces.component.UIOrderingBaseComponent.ItemState


    }
   
    StringBuffer cellClassName = new StringBuffer("rich-ordering-list-cell");
   
    ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
    ItemState state = getItemState(context, table, variables);
   
    boolean active = state.isActive();
//    if (active) {
//      rowClassName.append(" rich-ordering-list-row-active");
//      cellClassName.append(" rich-ordering-list-cell-active");
//    }
   
    boolean selected = state.isSelected();
    if (selected) {
      rowClassName.append(" rich-ordering-list-row-selected");
      cellClassName.append(" rich-ordering-list-cell-selected");
    }
View Full Code Here


          rowClassName.append(rowClass);
        }

        ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
        SelectionState selectionState = (SelectionState) variables.getVariable(SELECTION_STATE_VAR_NAME);
        ItemState itemState = getItemState(context, table, variables);
       
        boolean active = itemState.isActive();
        boolean selected = itemState.isSelected();
        selectionState.addState(selected);
        if (selected) {
          if (source) {
            rowClassName.append(" rich-shuttle-source-row-selected");
            cellClassName.append(" rich-shuttle-source-cell-selected");
View Full Code Here

          rowClassName.append(rowClass);
        }

        ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
        SelectionState selectionState = (SelectionState) variables.getVariable(SELECTION_STATE_VAR_NAME);
        ItemState itemState = getItemState(context, table, variables);
       
        boolean active = itemState.isActive();
        boolean selected = itemState.isSelected();
        selectionState.addState(selected);
        if (selected) {
          if (source) {
            rowClassName.append(" rich-shuttle-source-row-selected");
            cellClassName.append(" rich-shuttle-source-cell-selected");
View Full Code Here

    }
   
    StringBuffer cellClassName = new StringBuffer("rich-ordering-list-cell");
   
    ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
    ItemState state = getItemState(context, table, variables);
   
    boolean active = state.isActive();
//    if (active) {
//      rowClassName.append(" rich-ordering-list-row-active");
//      cellClassName.append(" rich-ordering-list-cell-active");
//    }
   
    boolean selected = state.isSelected();
    if (selected) {
      rowClassName.append(" rich-ordering-list-row-selected");
      cellClassName.append(" rich-ordering-list-cell-selected");
    }
View Full Code Here

          rowClassName.append(rowClass);
        }

        ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
        SelectionState selectionState = (SelectionState) variables.getVariable(SELECTION_STATE_VAR_NAME);
        ItemState itemState = getItemState(context, table, variables);
       
        boolean active = itemState.isActive();
        boolean selected = itemState.isSelected();
        selectionState.addState(selected);
        if (selected) {
          if (source) {
            rowClassName.append(" rich-shuttle-source-row-selected");
            cellClassName.append(" rich-shuttle-source-cell-selected");
View Full Code Here

    }
   
    StringBuffer cellClassName = new StringBuffer("rich-ordering-list-cell");
   
    ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
    ItemState state = getItemState(context, table, variables);
   
    boolean active = state.isActive();
//    if (active) {
//      rowClassName.append(" rich-ordering-list-row-active");
//      cellClassName.append(" rich-ordering-list-cell-active");
//    }
   
    boolean selected = state.isSelected();
    if (selected) {
      rowClassName.append(" rich-ordering-list-row-selected");
      cellClassName.append(" rich-ordering-list-cell-selected");
    }
View Full Code Here

          rowClassName.append(rowClass);
        }

        ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
        SelectionState selectionState = (SelectionState) variables.getVariable(SELECTION_STATE_VAR_NAME);
        ItemState itemState = getItemState(context, table, variables);
       
        boolean active = itemState.isActive();
        boolean selected = itemState.isSelected();
        selectionState.addState(selected);
        if (selected) {
          if (source) {
            rowClassName.append(" rich-shuttle-source-row-selected");
            cellClassName.append(" rich-shuttle-source-cell-selected");
View Full Code Here

    }
   
    StringBuffer cellClassName = new StringBuffer("rich-ordering-list-cell");
   
    ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
    ItemState state = getItemState(context, table, variables);
   
    boolean active = state.isActive();
//    if (active) {
//      rowClassName.append(" rich-ordering-list-row-active");
//      cellClassName.append(" rich-ordering-list-cell-active");
//    }
   
    boolean selected = state.isSelected();
    if (selected) {
      rowClassName.append(" rich-ordering-list-row-selected");
      cellClassName.append(" rich-ordering-list-cell-selected");
    }
View Full Code Here

          rowClassName.append(rowClass);
        }

        ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
        SelectionState selectionState = (SelectionState) variables.getVariable(SELECTION_STATE_VAR_NAME);
        ItemState itemState = getItemState(context, table, variables);
       
        boolean active = itemState.isActive();
        boolean selected = itemState.isSelected();
        selectionState.addState(selected);
        if (selected) {
          if (source) {
            rowClassName.append(" rich-shuttle-source-row-selected");
            cellClassName.append(" rich-shuttle-source-cell-selected");
View Full Code Here

TOP

Related Classes of org.richfaces.component.UIOrderingBaseComponent.ItemState

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.