Class CacheComponent

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, CacheListener

public class CacheComponent extends JPanel implements ActionListener, CacheListener, ChangeListener
GUI component for managing a cache.
See Also:
  • Field Details

    • SOURCES

      protected static final String[] SOURCES
    • SOURCE_VALUES

      protected static final Class[] SOURCE_VALUES
    • SOURCE_PARAMS

      protected static final Class[] SOURCE_PARAMS
    • STRATEGIES

      protected static final String[] STRATEGIES
    • STRATEGY_VALUES

      protected static final Class[] STRATEGY_VALUES
    • STRATEGY_PARAMS

      protected static final Class[] STRATEGY_PARAMS
    • PRIORITIES

      protected static final String[] PRIORITIES
    • PRIORITY_VALUES

      protected static final int[] PRIORITY_VALUES
    • ORDERS

      protected static final String[] ORDERS
    • ORDER_VALUES

      protected static final int[] ORDER_VALUES
  • Constructor Details

    • CacheComponent

      public CacheComponent(Cache cache, String[] axisLabels)
      Creates a cache GUI component.
    • CacheComponent

      public CacheComponent(Cache cache, String[] axisLabels, String id)
      Creates a cache GUI component with the ability to change between the various source types (mainly for debugging purposes).
  • Method Details