org.knime.core.node.util
Interface ButtonGroupEnumInterface

All Known Implementing Classes:
AggregationMethod, HistogramLayout, LabelDisplayPolicy, ValueScale

public interface ButtonGroupEnumInterface

Used to create a ButtonGroup in the DialogComponentButtonGroup class.

Should be implemented by an Enum for simplicity.

Author:
Tobias Koetter, University of Konstanz

Method Summary
 String getActionCommand()
          Should return the ButtonGroup wide unique action command.
 String getText()
           
 String getToolTip()
           
 boolean isDefault()
           
 

Method Detail

getText

String getText()
Returns:
the text to display

getActionCommand

String getActionCommand()
Should return the ButtonGroup wide unique action command. This is typically the return value of the Enum.name() method.

Returns:
the unique action command of this option

getToolTip

String getToolTip()
Returns:
the tool tip of this option could be null

isDefault

boolean isDefault()
Returns:
true if this is the default option


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.