|
||||||||||
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.ScaleBarPanel
public class ScaleBarPanel
Panel of the ElementFormatsDialog
used to edit the scale bar formats.
ElementFormatsDialog
,
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 |
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 | |
---|---|
ScaleBarPanel(ElementFormatsDialog owner)
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 ButtonGroup |
getAlignGroup()
|
private JPanel |
getAlignmentPanel()
This method initializes anchorPanel |
private JRadioButton |
getDecRadioButton()
This method initializes decRadioButton |
private JPanel |
getDimensionsPanel()
This method initializes widthPanel |
private JPanel |
getDirectionPanel()
This method initializes directionPanel |
private JRadioButton |
getIncRadioButton()
This method initializes incRadioButton |
private ButtonGroup |
getIncreaseGroup()
|
private JPanel |
getIntervalPanel()
This method initializes decimalPanel |
private JPanel |
getLabelingPanel()
This method initializes labelingPanel |
private JRadioButton |
getLeftRadioButton()
This method initializes leftRadioButton |
private ScaleBarIntervalKeyListener |
getLongIntervalKeyListener()
|
private JRadioButton |
getRightRadioButton()
This method initializes leafsRadioButton |
private ScaleBarIntervalKeyListener |
getSmallIntervalKeyListener()
|
private JPanel |
getStartPanel()
This method initializes startPanel |
private JRadioButton |
getTreeWidthRadioButton()
This method initializes rightRadioButton |
private JRadioButton |
getZeroLeftRadioButton()
This method initializes zeroLeftRadioButton |
private ButtonGroup |
getZeroPosGroup()
|
private JRadioButton |
getZeroRightRadioButton()
This method initializes ueroRightRadioButton |
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 ElementFormatsDialog owner
private JPanel alignmentPanel
private JRadioButton leftRadioButton
private JRadioButton rightRadioButton
private JRadioButton treeWidthRadioButton
private ButtonGroup alignGroup
private info.webinsel.util.swing.SwingChangeMonitor alignMonitor
private info.webinsel.util.swing.SwingChangeMonitor increaseMonitor
private info.webinsel.util.swing.SwingChangeMonitor startMonitor
private JPanel intervalPanel
private DistanceValueInput treeDistanceInput
private ScaleValueInput widthInput
private DistanceValueInput heightInput
private info.webinsel.util.swing.DecimalInput smallIntervalInput
private info.webinsel.util.swing.DecimalInput longIntervalInput
private JPanel dimensionsPanel
private JPanel startPanel
private JRadioButton zeroLeftRadioButton
private JRadioButton zeroRightRadioButton
private ButtonGroup zeroPosGroup
private JPanel labelingPanel
private JPanel directionPanel
private JRadioButton incRadioButton
private JRadioButton decRadioButton
private ButtonGroup increaseGroup
private JLabel smallIntervalLengthLabel
private JLabel longIntervalLengthLabel
private ScaleBarIntervalKeyListener smallIntervalKeyListener
private ScaleBarIntervalKeyListener longIntervalKeyListener
Constructor Detail |
---|
public ScaleBarPanel(ElementFormatsDialog owner)
Method Detail |
---|
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
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
private void initialize()
private JPanel getAlignmentPanel()
private JRadioButton getLeftRadioButton()
private JRadioButton getRightRadioButton()
private JRadioButton getTreeWidthRadioButton()
private ButtonGroup getAlignGroup()
private ScaleBarIntervalKeyListener getSmallIntervalKeyListener()
private ScaleBarIntervalKeyListener getLongIntervalKeyListener()
private JPanel getIntervalPanel()
private JPanel getDimensionsPanel()
private JPanel getStartPanel()
private JRadioButton getZeroLeftRadioButton()
private JRadioButton getZeroRightRadioButton()
private ButtonGroup getZeroPosGroup()
private JPanel getLabelingPanel()
private JPanel getDirectionPanel()
private JRadioButton getIncRadioButton()
private JRadioButton getDecRadioButton()
private ButtonGroup getIncreaseGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |