org.jfree.ui
Class StrokeChooserPanel
JPanel
org.jfree.ui.StrokeChooserPanel
A component for choosing a stroke from a list of available strokes. This
class needs work.
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.
current
- the current stroke sample.available
- an array of 'available' stroke samples.
getSelectedStroke
public Stroke getSelectedStroke()
Returns the selected stroke.
- The selected stroke (possibly
null
).
getSelector
protected final JComboBox getSelector()
Returns the selector component.