|
||||||||||
| 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.IconLabelPanel
public class IconLabelPanel
Panel of the ElementFormatsDialog used to edit the icon label color.
| 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 JComboBox |
iconComboBox
|
private JCheckBox |
iconFilledCheckBox
|
private info.webinsel.util.swing.SwingChangeMonitor |
iconFilledMonitor
|
private DistanceValueInput |
iconHeightInput
|
private info.webinsel.util.swing.SwingChangeMonitor |
iconMonitor
|
private JPanel |
iconPanel
|
private IconPreviewPanel |
iconPreviewPanel
|
private DistanceValueInput |
iconWidthInput
|
static int |
PREVIEW_SIZE
|
private JPanel |
previewPanel
|
| 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 | |
|---|---|
IconLabelPanel()
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)
|
void |
assignToFormats(IconLabelFormats f)
|
private JComboBox |
getIconComboBox()
This method initializes iconComboBox |
private LabelIconComboBoxModel |
getIconComboBoxModel()
|
private JCheckBox |
getIconFilledCheckBox()
This method initializes iconFilledCheckBox |
private DistanceValueInput |
getIconHeightInput()
|
private JPanel |
getIconPanel()
This method initializes iconPanel |
private IconPreviewPanel |
getIconPreviewPanel()
This method initializes iconPreviewPanel |
private DistanceValueInput |
getIconWidthInput()
|
private JPanel |
getPreviewPanel()
This method initializes previewPanel |
private void |
initialize()
This method initializes this |
private void |
paintIconPreview()
|
void |
resetChangeMonitors()
|
void |
setValues(IconLabelFormats f)
|
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 |
|---|
public static final int PREVIEW_SIZE
private info.webinsel.util.swing.SwingChangeMonitor iconMonitor
private info.webinsel.util.swing.SwingChangeMonitor iconFilledMonitor
private JPanel iconPanel
private JComboBox iconComboBox
private IconPreviewPanel iconPreviewPanel
private DistanceValueInput iconWidthInput
private DistanceValueInput iconHeightInput
private JCheckBox iconFilledCheckBox
private JPanel previewPanel
| Constructor Detail |
|---|
public IconLabelPanel()
| Method Detail |
|---|
public void addError(List<String> list)
ElementFormatTab
addError in interface ElementFormatTablist - the list to add the messaged topublic String title()
title in interface ElementFormatTabpublic boolean setValues(TreeSelection selection)
ElementFormatTab
setValues in interface ElementFormatTabselection - the currently selected tree elements
false if no compatible element was selectedpublic void addOperators(List<FormatOperator> operators)
addOperators in interface ElementFormatTabpublic void resetChangeMonitors()
resetChangeMonitors in interface ElementFormatTabpublic void setValues(IconLabelFormats f)
public void assignToFormats(IconLabelFormats f)
private void paintIconPreview()
private void initialize()
private JPanel getIconPanel()
private DistanceValueInput getIconWidthInput()
private DistanceValueInput getIconHeightInput()
private JComboBox getIconComboBox()
private LabelIconComboBoxModel getIconComboBoxModel()
private IconPreviewPanel getIconPreviewPanel()
private JCheckBox getIconFilledCheckBox()
private JPanel getPreviewPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||