|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
ncsa.hdf.view.ViewProperties
public class ViewProperties
The ViewProperties holds all the HDFView static information.
Nested Class Summary | |
---|---|
static class |
ViewProperties.DATA_VIEW_KEY
Property keys how how the data is displayed. |
Field Summary | |
---|---|
static java.lang.String |
DELIMITER_COLON
name of the tab delimiter |
static java.lang.String |
DELIMITER_COMMA
name of the tab delimiter |
static java.lang.String |
DELIMITER_SEMI_COLON
name of the tab delimiter |
static java.lang.String |
DELIMITER_SPACE
name of the tab delimiter |
static java.lang.String |
DELIMITER_TAB
name of the tab delimiter |
static int |
MAX_RECENT_FILES
the maximum number of most recent files |
static long |
serialVersionUID
|
static java.lang.String |
VERSION
the version of the HDFViewer |
Constructor Summary | |
---|---|
ViewProperties(java.lang.String viewRoot)
Creates a property list with given root directory of the HDFView. |
Method Summary | |
---|---|
static javax.swing.Icon |
getAnimationIcon()
|
static javax.swing.ImageIcon |
getAppsIcon()
|
static javax.swing.ImageIcon |
getAudioIcon()
|
static javax.swing.Icon |
getAutocontrastIcon()
|
static javax.swing.Icon |
getBlankIcon()
|
static javax.swing.Icon |
getBrightIcon()
|
static javax.swing.Icon |
getChartIcon()
|
static javax.swing.Icon |
getCopyIcon()
|
static javax.swing.Icon |
getCutIcon()
|
static java.lang.String |
getDataDelimiter()
returns the delimiter of data values |
static javax.swing.Icon |
getDatasetIcon()
|
static javax.swing.Icon |
getDatasetIconA()
|
static javax.swing.Icon |
getDatatypeIcon()
|
static javax.swing.Icon |
getDatatypeIconA()
|
static javax.swing.Icon |
getFilecloseIcon()
|
static java.lang.String |
getFileExtension()
gets the file extensions of supported file formats |
static javax.swing.Icon |
getFilenewIcon()
|
static javax.swing.Icon |
getFileopenIcon()
|
static javax.swing.Icon |
getFilesaveIcon()
|
static javax.swing.Icon |
getFirstIcon()
|
static javax.swing.Icon |
getFoldercloseIcon()
|
static javax.swing.Icon |
getFoldercloseIconA()
|
static javax.swing.Icon |
getFolderopenIcon()
|
static javax.swing.Icon |
getFolderopenIconA()
|
static int |
getFontSize()
returns the font size |
static java.lang.String |
getFontType()
returns the font type |
static javax.swing.Icon |
getH4Icon()
|
static java.lang.String |
getH4toH5()
returns the path of the H5toH5 converter |
static javax.swing.Icon |
getH5Icon()
|
static javax.swing.Icon |
getHdfIcon()
|
static javax.swing.Icon |
getHelpIcon()
|
static java.util.Vector<java.lang.String> |
getHelpViewList()
returns a list of helpview modules |
static javax.swing.Icon |
getImageIcon()
|
static javax.swing.Icon |
getImageIconA()
|
static java.util.Vector<java.lang.String> |
getImageViewList()
returns a list of imageview modules |
static javax.swing.Icon |
getLargeHdfIcon()
|
static javax.swing.Icon |
getLastIcon()
|
static javax.swing.Icon |
getLinkIcon()
|
static int |
getMaxMembers()
Current Java application such as HDFView cannot handle files with large number of objects such 1,000,000 objects. |
static int |
getMaxRecentFiles()
returns the maximum number of the most recent file |
static java.util.Vector<java.lang.String> |
getMetaDataViewList()
returns a list of metadataview modules |
static java.util.Vector<java.lang.String> |
getMRF()
returns the list of most recent files |
static javax.swing.Icon |
getNextIcon()
|
static javax.swing.Icon |
getPaletteIcon()
|
static java.util.Vector<java.lang.String> |
getPaletteList()
returns the list of palette files |
static java.util.Vector<java.lang.String> |
getPaletteViewList()
returns a list of paletteview modules |
static javax.swing.Icon |
getPasteIcon()
|
static javax.swing.ImageIcon |
getPdfIcon()
|
static javax.swing.Icon |
getPreviousIcon()
|
static java.lang.String |
getPropertyFile()
returns the name of the user property file |
static javax.swing.Icon |
getQuestionIcon()
|
static java.util.Vector<java.lang.String[]> |
getSrbAccount()
|
static int |
getStartMembers()
Current Java application such as HDFView cannot handle files with large number of objects such 1,000,000 objects. |
static javax.swing.Icon |
getTableIcon()
|
static javax.swing.Icon |
getTableIconA()
|
static java.util.Vector<java.lang.String> |
getTableViewList()
returns a list of tableview modules |
static javax.swing.Icon |
getTextIcon()
|
static javax.swing.Icon |
getTextIconA()
|
static java.util.Vector<java.lang.String> |
getTextViewList()
returns a list of textview modules |
static java.util.Vector<java.lang.String> |
getTreeViewList()
returns a list of treeview modules |
static javax.swing.ImageIcon |
getUrlIcon()
|
static java.lang.String |
getUsersGuide()
return the path of the H5View uers guide |
static javax.swing.ImageIcon |
getVideoIcon()
|
static java.lang.String |
getViewRoot()
returns the root directory where the HDFView is installed. |
static java.lang.String |
getWorkDir()
returns the default work directory, where the open file starts. |
static javax.swing.ImageIcon |
getXlsIcon()
|
static javax.swing.Icon |
getZoominIcon()
|
static javax.swing.Icon |
getZoomoutIcon()
|
static boolean |
isAutoContrast()
Returns true if auto contrast is used in image process. |
static boolean |
isConvertEnum()
|
static boolean |
isReadOnly()
Returns true if default file access is read only. |
java.util.Enumeration |
keys()
|
void |
load()
Load user properties from property file |
static java.lang.ClassLoader |
loadExtClass()
load module classes |
static void |
loadIcons(java.lang.String rootPath)
|
void |
save()
Save user properties into property file |
static void |
setAutoContrast(boolean b)
Set the flag to indicate if auto contrast is used in image process. |
static void |
setConvertEnum(boolean convertEnum)
|
static void |
setDataDelimiter(java.lang.String delim)
set the delimiter of data values |
static void |
setFileExtension(java.lang.String ext)
set the file extension |
static void |
setFontSize(int fsize)
sets the font size |
static void |
setFontType(java.lang.String ftype)
sets the font size |
static void |
setH4toH5(java.lang.String tool)
set the path of the H5to H5 converter |
static void |
setMaxMembers(int n)
Current Java application such as HDFView cannot handle files with large number of objects such 1,000,000 objects. |
static void |
setReadOnly(boolean b)
Set the flag to indicate if default file access is read only. |
static void |
setStartMembers(int idx)
Current Java application such as HDFView cannot handle files with large number of objects such 1,000,000 objects. |
static void |
setUsersGuide(java.lang.String str)
set the path of H5View User's guide |
static void |
setWorkDir(java.lang.String wDir)
set the path of the default work directory |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
public static final java.lang.String VERSION
public static final int MAX_RECENT_FILES
public static final java.lang.String DELIMITER_TAB
public static final java.lang.String DELIMITER_COMMA
public static final java.lang.String DELIMITER_SPACE
public static final java.lang.String DELIMITER_COLON
public static final java.lang.String DELIMITER_SEMI_COLON
Constructor Detail |
---|
public ViewProperties(java.lang.String viewRoot)
Method Detail |
---|
public java.util.Enumeration keys()
keys
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public static java.lang.ClassLoader loadExtClass()
public static java.lang.String getViewRoot()
public static javax.swing.Icon getFoldercloseIcon()
public static javax.swing.Icon getFoldercloseIconA()
public static javax.swing.Icon getFolderopenIcon()
public static javax.swing.Icon getFolderopenIconA()
public static javax.swing.Icon getHdfIcon()
public static javax.swing.Icon getH4Icon()
public static javax.swing.Icon getH5Icon()
public static javax.swing.Icon getDatasetIcon()
public static javax.swing.Icon getDatasetIconA()
public static javax.swing.Icon getDatatypeIcon()
public static javax.swing.Icon getDatatypeIconA()
public static javax.swing.Icon getLinkIcon()
public static javax.swing.Icon getFileopenIcon()
public static javax.swing.Icon getFilesaveIcon()
public static javax.swing.Icon getFilenewIcon()
public static javax.swing.Icon getFilecloseIcon()
public static javax.swing.Icon getPaletteIcon()
public static javax.swing.Icon getBrightIcon()
public static javax.swing.Icon getAutocontrastIcon()
public static javax.swing.Icon getImageIcon()
public static javax.swing.Icon getTableIcon()
public static javax.swing.Icon getTextIcon()
public static javax.swing.Icon getImageIconA()
public static javax.swing.Icon getTableIconA()
public static javax.swing.Icon getTextIconA()
public static javax.swing.Icon getZoominIcon()
public static javax.swing.Icon getZoomoutIcon()
public static javax.swing.Icon getBlankIcon()
public static javax.swing.Icon getHelpIcon()
public static javax.swing.Icon getCopyIcon()
public static javax.swing.Icon getCutIcon()
public static javax.swing.Icon getPasteIcon()
public static javax.swing.Icon getLargeHdfIcon()
public static javax.swing.Icon getPreviousIcon()
public static javax.swing.Icon getNextIcon()
public static javax.swing.Icon getFirstIcon()
public static javax.swing.Icon getLastIcon()
public static javax.swing.Icon getChartIcon()
public static javax.swing.Icon getAnimationIcon()
public static javax.swing.ImageIcon getAppsIcon()
public static javax.swing.ImageIcon getUrlIcon()
public static javax.swing.ImageIcon getVideoIcon()
public static javax.swing.ImageIcon getXlsIcon()
public static javax.swing.ImageIcon getPdfIcon()
public static javax.swing.ImageIcon getAudioIcon()
public static javax.swing.Icon getQuestionIcon()
public static void loadIcons(java.lang.String rootPath)
public void load() throws java.lang.Exception
java.lang.Exception
public void save()
public static java.lang.String getPropertyFile()
public static java.lang.String getWorkDir()
public static int getMaxRecentFiles()
public static java.lang.String getUsersGuide()
public static java.lang.String getDataDelimiter()
public static int getFontSize()
public static java.lang.String getFontType()
public static java.lang.String getFileExtension()
public static void setFontSize(int fsize)
public static void setFontType(java.lang.String ftype)
public static java.lang.String getH4toH5()
public static java.util.Vector<java.lang.String> getMRF()
public static java.util.Vector<java.lang.String> getPaletteList()
public static java.util.Vector<java.lang.String[]> getSrbAccount()
public static java.util.Vector<java.lang.String> getTreeViewList()
public static java.util.Vector<java.lang.String> getMetaDataViewList()
public static java.util.Vector<java.lang.String> getTextViewList()
public static java.util.Vector<java.lang.String> getTableViewList()
public static java.util.Vector<java.lang.String> getImageViewList()
public static java.util.Vector<java.lang.String> getPaletteViewList()
public static java.util.Vector<java.lang.String> getHelpViewList()
public static void setUsersGuide(java.lang.String str)
public static void setH4toH5(java.lang.String tool)
public static void setWorkDir(java.lang.String wDir)
public static void setFileExtension(java.lang.String ext)
public static void setDataDelimiter(java.lang.String delim)
public static void setMaxMembers(int n)
n
- the maximum number of objects to load into memorypublic static void setStartMembers(int idx)
idx
- the maximum number of objects to load into memorypublic static int getMaxMembers()
public static int getStartMembers()
public static boolean isAutoContrast()
public static void setAutoContrast(boolean b)
b
- the flag to indicate if auto contrast is used in image
process.public static boolean isReadOnly()
public static void setReadOnly(boolean b)
b
- the flag to indicate if default file access is read only.public static boolean isConvertEnum()
public static void setConvertEnum(boolean convertEnum)
convertEnum
- the convertEnum to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |