Package ucar.unidata.idv
Interface IdvContext
- All Known Subinterfaces:
ControlContext
,DataContext
,ViewContext
- All Known Implementing Classes:
DefaultIdv
,IdvServer.MyIdv
,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
Modifier and TypeMethodDescriptiongetColorProperty
(String name, Color dflt) _more_boolean
getProperty
(String name, boolean dflt) Get the given property name and convert to to a boolean.getProperty
(String name, String dflt) Get the given property name as a String If not found return dflt
-
Method Details
-
getProperty
Get the given property name and convert to to a boolean. If not found return dflt- Parameters:
name
- Property to look updflt
- Default value to use if not found- Returns:
- The property as a boolean or the dflt value if not found
-
getProperty
Get the given property name as a String If not found return dflt- Parameters:
name
- Property to look updflt
- Default value to use if not found- Returns:
- The property as a String or the dflt value if not found
-
getColorProperty
_more_- Parameters:
name
- _more_dflt
- _more_- Returns:
- _more_
-