Package org

Class FolderPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class FolderPanel
extends JComponent
Author:
Christian Klukas (c) 2004 IPK-Gatersleben
See Also:
Serialized Form
  • Constructor Details

    • FolderPanel

      public FolderPanel​(String title, boolean openCondensed, boolean showCondenseButton, boolean sortRows, ActionListener helpActionListener)
    • FolderPanel

      public FolderPanel​(String title, boolean sortRows, ActionListener helpActionListener, String helpTopic)
    • FolderPanel

      public FolderPanel​(String title)
  • Method Details

    • setIconSize

      public void setIconSize​(FolderPanel.Iconsize bigIcons)
    • enableSearch

      public void enableSearch​(boolean enable)
    • setColumnStyle

      public void setColumnStyle​(double left, double right)
    • setEmptyBorderWidth

      public void setEmptyBorderWidth​(int emptyBorderWidth)
    • setRowColSpacing

      public void setRowColSpacing​(int rowSpacing, int colSpacing)
    • getFrameColor

      public Color getFrameColor()
    • setFrameColor

      public void setFrameColor​(Color frameColor, Color headingColor, int frameWidth, int emptyBorderWidth)
    • setFrameColor

      public void setFrameColor​(Color frameColor, Color headingColor)
    • setBackground

      public void setBackground​(Color backgroundColor)
      Overrides:
      setBackground in class JComponent
    • addFirstGuiComponentRow

      public void addFirstGuiComponentRow​(JComponent leftComponent, JComponent rightComponent, boolean updateLayout, int spaceAroundComponents)
    • addGuiComponentRow

      public GuiRow addGuiComponentRow​(JComponent leftComponent, JComponent rightComponent, boolean updateLayout)
    • removeGuiComponentRow

      public void removeGuiComponentRow​(GuiRow guiRow, boolean updateLayout)
    • exchangeGuiComponentRow

      public void exchangeGuiComponentRow​(GuiRow guiRow, GuiRow newRow, boolean updateLayout)
    • clearGuiComponentList

      public void clearGuiComponentList()
      Removes all current known GUI component rows from the internal list. Use addGuiComponentRow to refill this list and layoutRows to fill the actual GUI of this component.
    • addGuiComponentRow

      public void addGuiComponentRow​(GuiRow row, boolean updateLayout)
    • getVSplitLayout

      public static TableLayout getVSplitLayout​(JComponent topComp, JComponent bottomComp, double topSize, double bottomSize)
    • getHSplitLayout

      public static TableLayout getHSplitLayout​(JComponent leftComponent, JComponent rightComponent, double leftSize, double rightSize)
    • layoutRows

      public void layoutRows()
    • setCondensedState

      public void setCondensedState​(boolean condensed)
    • getSearchIcon

      public static ImageIcon getSearchIcon()
    • getLeftRightIcon

      public static ImageIcon getLeftRightIcon​(FolderPanel.Iconsize bigIcons, boolean left)
    • getHelpButton

      public static JComponent getHelpButton​(ActionListener helpActionListener, Color frameColor)
    • getRowCount

      public int getRowCount()
    • getVisibleGuiRows

      public ArrayList<GuiRow> getVisibleGuiRows()
    • getAllGuiRows

      public ArrayList<GuiRow> getAllGuiRows()
    • getBorderedComponent

      public JComponent getBorderedComponent​(int top, int left, int bottom, int right)
    • getBorderedComponent

      public static JComponent getBorderedComponent​(JComponent comp, int top, int left, int bottom, int right)
    • addCollapseListener

      public void addCollapseListener​(ActionListener listener)
    • addGuiComponentRow

      public GuiRow addGuiComponentRow​(JComponent left, JComponent right, boolean updateLayout, int spaceAroundElements)
    • addComp

      public void addComp​(JComponent component, int border)
    • addComp

      public void addComp​(JComponent comp)
    • setTitle

      public void setTitle​(String newTitle)
    • addCollapseListenerDialogSizeUpdate

      public void addCollapseListenerDialogSizeUpdate()
    • dialogSizeUpdate

      public void dialogSizeUpdate()
    • performDialogResize

      public static void performDialogResize​(Component startComponent)
    • closeParentDialog

      public static void closeParentDialog​(Component startComponent)
    • setMaximumRowCount

      public void setMaximumRowCount​(int maxRowCount)
    • setMaximumRowCount

      public void setMaximumRowCount​(int maxRowCount, boolean locked)
    • setRowBackground0

      public void setRowBackground0​(Color col0)
    • setRowBackground1

      public void setRowBackground1​(Color col1)
    • addSearchFilter

      public void addSearchFilter​(SearchFilter filter)
    • addDefaultTextSearchFilter

      public void addDefaultTextSearchFilter()
    • addDefaultTextSearchFilterFixed

      public void addDefaultTextSearchFilterFixed​(String optFixedSearch)
    • getTitle

      public String getTitle()
    • mergeRowsWithSameLeftLabel

      public void mergeRowsWithSameLeftLabel()
    • setShowCondenseButton

      public void setShowCondenseButton​(boolean b)
    • getFixedSearchFilterMatchCount

      public int getFixedSearchFilterMatchCount()
    • getDefaultSearchFilter

      public static SearchFilter getDefaultSearchFilter​(String optFixedSearch)
    • getLeftOrRightIcon

      public static ImageIcon getLeftOrRightIcon​(boolean left)
    • getMaxRowCount

      public int getMaxRowCount()
    • getCurrentPage

      public int getCurrentPage()
    • setCurrentPage

      public void setCurrentPage​(int page)