Class StrokeChooserPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StrokeChooserPanel extends JPanel
A component for choosing a stroke from a list of available strokes. This class needs work.
See Also:
  • Constructor Details

    • StrokeChooserPanel

      public StrokeChooserPanel(StrokeSample current, StrokeSample[] available)
      Creates a panel containing a combo-box that allows the user to select one stroke from a list of available strokes.
      Parameters:
      current - the current stroke sample.
      available - an array of 'available' stroke samples.
  • Method Details

    • getSelector

      protected final JComboBox getSelector()
      Returns the selector component.
      Returns:
      Returns the selector.
    • getSelectedStroke

      Returns the selected stroke.
      Returns:
      The selected stroke (possibly null).