|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
info.bioinfweb.treegraph.gui.dialogs.elementformats.LegendPanel
public class LegendPanel
Panel of the ElementFormatsDialog
used to edit the legend formats.
LegendFormats
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private JRadioButton |
braceRadioButton
|
private JRadioButton |
bracketRadioButton
|
private DecimalFormat |
decimalFormat
|
private JRadioButton |
downRadioButton
|
private JRadioButton |
horizontalRadioButton
|
private JPanel |
legendNumbersPanel
|
private JLabel |
legendOrderLabel
|
private JPanel |
legendOrientationPanel
|
private info.webinsel.util.swing.SwingChangeMonitor |
legendPositionMonitor
|
private JFormattedTextField |
legendPositionTextField
|
private JPanel |
legendStylePanel
|
private MarginInput |
marginInput
|
private JPanel |
marginPanel
|
private DistanceValueInput |
minTreeDistanceInput
|
private ButtonGroup |
orientationGroup
|
private info.webinsel.util.swing.SwingChangeMonitor |
orientationMonitor
|
private static long |
serialVersionUID
|
private ButtonGroup |
styleGroup
|
private info.webinsel.util.swing.SwingChangeMonitor |
styleMonitor
|
private JRadioButton |
upRadioButton
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
LegendPanel()
This is the default constructor |
Method Summary | |
---|---|
void |
addError(List<String> list)
Adds error messages to the given list, if this tab contains any invalid user inputs. |
void |
addOperators(List<FormatOperator> operators)
|
private JRadioButton |
getBraceRadioButton()
This method initializes braceRadioButton |
private JRadioButton |
getBracketRadioButton()
This method initializes bracketRadioButton |
private JRadioButton |
getDownRadioButton()
This method initializes downRadioButton |
private JRadioButton |
getHorizontalRadioButton()
This method initializes horizontalRadioButton |
private JPanel |
getLegendNumbersPanel()
This method initializes legendNumbersPanel |
private JPanel |
getLegendOrientationPanel()
This method initializes legendOrientationPanel |
private JFormattedTextField |
getLegendPositionTextField()
This method initializes positionTextField |
private JPanel |
getLegendStylePanel()
This method initializes legendStylePanel |
private MarginInput |
getMarginInput()
|
private JPanel |
getMarginPanel()
This method initializes marginPanel |
ButtonGroup |
getOrientationGroup()
|
ButtonGroup |
getStyleGroup()
|
private JRadioButton |
getUpRadioButton()
This method initializes upRadioButton |
private void |
initialize()
This method initializes this |
void |
resetChangeMonitors()
|
boolean |
setValues(TreeSelection selection)
The values of the first compatible element in the selection should be set to the input components of this tab. |
String |
title()
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private DecimalFormat decimalFormat
private JPanel legendStylePanel
private JRadioButton bracketRadioButton
private JRadioButton braceRadioButton
private JPanel legendOrientationPanel
private JRadioButton horizontalRadioButton
private JRadioButton upRadioButton
private JRadioButton downRadioButton
private ButtonGroup styleGroup
private ButtonGroup orientationGroup
private info.webinsel.util.swing.SwingChangeMonitor styleMonitor
private info.webinsel.util.swing.SwingChangeMonitor orientationMonitor
private JPanel legendNumbersPanel
private JFormattedTextField legendPositionTextField
private info.webinsel.util.swing.SwingChangeMonitor legendPositionMonitor
private DistanceValueInput minTreeDistanceInput
private JLabel legendOrderLabel
private JPanel marginPanel
private MarginInput marginInput
Constructor Detail |
---|
public LegendPanel()
Method Detail |
---|
public boolean setValues(TreeSelection selection)
ElementFormatTab
setValues
in interface ElementFormatTab
selection
- the currently selected tree elements
false
if no compatible element was selectedpublic String title()
title
in interface ElementFormatTab
public void addOperators(List<FormatOperator> operators)
addOperators
in interface ElementFormatTab
public void addError(List<String> list)
ElementFormatTab
addError
in interface ElementFormatTab
list
- the list to add the messaged topublic void resetChangeMonitors()
resetChangeMonitors
in interface ElementFormatTab
private void initialize()
private JPanel getLegendStylePanel()
private JRadioButton getBracketRadioButton()
private JRadioButton getBraceRadioButton()
public ButtonGroup getStyleGroup()
private JPanel getLegendOrientationPanel()
private JRadioButton getHorizontalRadioButton()
private JRadioButton getUpRadioButton()
private JRadioButton getDownRadioButton()
public ButtonGroup getOrientationGroup()
private JPanel getLegendNumbersPanel()
private JFormattedTextField getLegendPositionTextField()
private JPanel getMarginPanel()
private MarginInput getMarginInput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |