Class JDateGroupsPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JDateGroupsPanel extends JPanel
Allow user to select date grouping in up to three levels. Updates attached JTree sample accordingly
See Also:
  • Field Details

  • Constructor Details

    • JDateGroupsPanel

      public JDateGroupsPanel(JTree samplesTree)
  • Method Details

    • setPresetsEnabledState

      protected void setPresetsEnabledState()
    • createSampleModel

      protected se.datadosen.jalbum.structure.TreeNodeImpl createSampleModel(List<String> patternGroups)
    • updateSample

      public void updateSample()
    • getPatternGroups

      public List<String> getPatternGroups()
    • setPatternGroups

      public void setPatternGroups(List<String> patternGroups)
    • patternsUpdated

      protected void patternsUpdated()
    • updateGroupsControls

      protected void updateGroupsControls()
      Set groups to match patternGroups list
    • getMatching

      protected static HasPattern getMatching(String patternGroup, JComboBox cb)
    • setOption

      protected static void setOption(JComboBox cb, String optionName)
    • setOptions

      protected void setOptions(Enum... options)