Class NamedItemDefinitionPanel<T>

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.iamsoft.util.ui.swing.nameditem2.NamedItemDefinitionPanel<T>
Type Parameters:
T - Type of element managed in panel.
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class NamedItemDefinitionPanel<T> extends JPanel
Define MutableItemSetModel items. Maintains three models:
  1. getSharedModel(): model shared with rest of application
  2. getWorkingCopy(): temporary model used by mListPanel
  3. getActiveItems(): model used by details panel (includes only items selected in list)
See Also:
  • Field Details

    • MIXED_STR

      public static final String MIXED_STR
      Text used to indicate that selected items have two or more distinct values for a particular field.
      See Also:
  • Constructor Details

  • Method Details

    • getListPanel

      public NamedItemListPanel<T> getListPanel()
    • getSharedModel

      public com.iamsoft.util.collections.model.MutableItemSetModel<T> getSharedModel()
    • getApplyAction

      public SwingAction getApplyAction()
    • getRevertAction

      public Action getRevertAction()