Class SelectableLayoutImpl

java.lang.Object
org.jppf.admin.web.layout.SelectableLayoutImpl
All Implemented Interfaces:
SelectableLayout

public class SelectableLayoutImpl extends Object implements SelectableLayout
Author:
Laurent Cohen
  • Constructor Details

    • SelectableLayoutImpl

      public SelectableLayoutImpl(List<org.jppf.ui.monitoring.LocalizedListItem> allItems, String propertyName)
      Parameters:
      allItems - the list of all available items.
      propertyName - name of the property used when saving to / loading from the user settings.
  • Method Details

    • getVisibleItems

      public List<org.jppf.ui.monitoring.LocalizedListItem> getVisibleItems()
      Specified by:
      getVisibleItems in interface SelectableLayout
      Returns:
      the list of visible columns/layout items in the page.
    • getAllItems

      public List<org.jppf.ui.monitoring.LocalizedListItem> getAllItems()
      Specified by:
      getAllItems in interface SelectableLayout
      Returns:
      the list of all available columns/layout items in the page.
    • setVisibleItems

      public void setVisibleItems(List<org.jppf.ui.monitoring.LocalizedListItem> items)
      Description copied from interface: SelectableLayout
      Set the list of visible items.
      Specified by:
      setVisibleItems in interface SelectableLayout
      Parameters:
      items - the list of all available columns/layout items in the page.