| 
||||||||||
| 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.LabelPanel
public class LabelPanel
Panel of the ElementFormatsDialog used to edit the general label formats.
LabelFormats, 
Serialized Form| Nested 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  ButtonGroup | 
aboveBelowGroup
 | 
private  JPanel | 
aboveBelowPanel
 | 
private  info.webinsel.util.swing.SwingChangeMonitor | 
aboveMonitor
 | 
private  JRadioButton | 
aboveRadioButton
 | 
private  JRadioButton | 
belowRadioButton
 | 
private  DecimalFormat | 
decimalFormat
 | 
private  JPanel | 
labelNumbersPanel
 | 
private  JLabel | 
lineNoLabel
 | 
private  info.webinsel.util.swing.SwingChangeMonitor | 
lineNoMonitor
 | 
private  JFormattedTextField | 
lineNoTextField
 | 
private  JLabel | 
linePosLabel
 | 
private  info.webinsel.util.swing.SwingChangeMonitor | 
linePosMonitor
 | 
private  JFormattedTextField | 
linePosTextField
 | 
private  MarginInput | 
marginInput
 | 
private  JPanel | 
marginPanel
 | 
private static long | 
serialVersionUID
 | 
| 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 | |
|---|---|
LabelPanel()
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)
 | 
 ButtonGroup | 
getAboveBelowGroup()
 | 
private  JPanel | 
getAboveBelowPanel()
This method initializes labelAboveBelowPanel  | 
private  JRadioButton | 
getAboveRadioButton()
This method initializes aboveRadioButton  | 
private  JRadioButton | 
getBelowRadioButton()
This method initializes belowRadioButton  | 
private  JPanel | 
getLabelNumbersPanel()
This method initializes labelNumbersPanel  | 
private  JFormattedTextField | 
getLineNoTextField()
This method initializes lineNoTextField  | 
private  JFormattedTextField | 
getLinePosTextField()
This method initializes linePosTextField  | 
private  MarginInput | 
getMarginInput()
 | 
private  JPanel | 
getMarginPanel()
This method initializes marginPanel  | 
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 JRadioButton aboveRadioButton
private JRadioButton belowRadioButton
private JLabel lineNoLabel
private JFormattedTextField lineNoTextField
private JLabel linePosLabel
private JFormattedTextField linePosTextField
private ButtonGroup aboveBelowGroup
private info.webinsel.util.swing.SwingChangeMonitor aboveMonitor
private info.webinsel.util.swing.SwingChangeMonitor lineNoMonitor
private info.webinsel.util.swing.SwingChangeMonitor linePosMonitor
private JPanel aboveBelowPanel
private JPanel labelNumbersPanel
private JPanel marginPanel
private MarginInput marginInput
| Constructor Detail | 
|---|
public LabelPanel()
| Method Detail | 
|---|
public boolean setValues(TreeSelection selection)
ElementFormatTab
setValues in interface ElementFormatTabselection - the currently selected tree elements
false if no compatible element was selectedpublic String title()
title in interface ElementFormatTabpublic void addOperators(List<FormatOperator> operators)
addOperators in interface ElementFormatTabpublic void addError(List<String> list)
ElementFormatTab
addError in interface ElementFormatTablist - the list to add the messaged topublic void resetChangeMonitors()
resetChangeMonitors in interface ElementFormatTabprivate void initialize()
private JPanel getAboveBelowPanel()
public ButtonGroup getAboveBelowGroup()
private JRadioButton getAboveRadioButton()
private JRadioButton getBelowRadioButton()
private JPanel getLabelNumbersPanel()
private JFormattedTextField getLineNoTextField()
private JFormattedTextField getLinePosTextField()
private JPanel getMarginPanel()
private MarginInput getMarginInput()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||