ucar.unidata.idv
Interface IdvContext

All Known Subinterfaces:
ControlContext, DataContext, ViewContext
All Known Implementing Classes:
DefaultIdv, IntegratedDataViewer, MultiPaneIdv

public interface IdvContext

A base context interface for some common methods

Version:
$Revision: 1.13 $Date: 2006/12/27 20:14:07 $
Author:
Jeff McWhirter

Method Summary
 Color getColorProperty(String name, Color dflt)
           
 boolean getProperty(String name, boolean dflt)
          Get the given property name and convert to to a boolean.
 String getProperty(String name, String dflt)
          Get the given property name as a String If not found return dflt
 

Method Detail

getProperty

boolean getProperty(String name,
                    boolean dflt)
Get the given property name and convert to to a boolean. If not found return dflt

Parameters:
name - Property to look up
dflt - Default value to use if not found
Returns:
The property as a boolean or the dflt value if not found

getProperty

String getProperty(String name,
                   String dflt)
Get the given property name as a String If not found return dflt

Parameters:
name - Property to look up
dflt - Default value to use if not found
Returns:
The property as a String or the dflt value if not found

getColorProperty

Color getColorProperty(String name,
                       Color dflt)