org.jfree.ui
public class StrokeChooserPanel extends JPanel
Constructor Summary | |
---|---|
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.
|
Method Summary | |
---|---|
Stroke | getSelectedStroke()
Returns the selected stroke.
|
protected JComboBox | getSelector()
Returns the selector component.
|
Parameters: current the current stroke sample. available an array of 'available' stroke samples.
Returns: The selected stroke (possibly null
).
Returns: Returns the selector.