Home / Development / Documentation / 2.0.44 / ElementFormatTab
TreeGraph 2
 


info.bioinfweb.treegraph.gui.dialogs.elementformats
Interface ElementFormatTab

All Known Implementing Classes:
BranchPanel, DecimalFormatPanel, FontColorPanel, FontFormatsPanel, IconPieChartLabelPanel, LabelPanel, LegendPanel, LinePanel, NodeMarginPanel, ScaleBarPanel

public interface ElementFormatTab

Classes that implement single tabs of the ElementFormatsDialog must implement this interface.

Author:
Ben Stöver
See Also:
ElementFormatsDialog

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 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()
           
 

Method Detail

setValues

boolean setValues(TreeSelection selection)
The values of the first compatible element in the selection should be set to the input components of this tab.

Parameters:
selection - the currently selected tree elements
Returns:
false if no compatible element was selected

title

String title()

resetChangeMonitors

void resetChangeMonitors()

addOperators

void addOperators(List<FormatOperator> operators)

addError

void addError(List<String> list)
Adds error messages to the given list, if this tab contains any invalid user inputs.

Parameters:
list - the list to add the messaged to