public class ViewProperties extends Properties
Modifier and Type | Class and Description |
---|---|
static class |
ViewProperties.BITMASK_OP
Property keys how how the data is displayed.
|
static class |
ViewProperties.DATA_VIEW_KEY
Property keys how how the data is displayed.
|
Modifier and Type | Field and Description |
---|---|
static String |
DELIMITER_COLON
name of the tab delimiter
|
static String |
DELIMITER_COMMA
name of the tab delimiter
|
static String |
DELIMITER_SEMI_COLON
name of the tab delimiter
|
static String |
DELIMITER_SPACE
name of the tab delimiter
|
static String |
DELIMITER_TAB
name of the tab delimiter
|
static int |
MAX_RECENT_FILES
the maximum number of most recent files
|
static String |
ORIGIN_LL
image origin: LowerLeft
|
static String |
ORIGIN_LR
image origin: LowerRight
|
static String |
ORIGIN_UL
image origin: UpperLeft
|
static String |
ORIGIN_UR
image origin: UpperRight
|
static String |
VERSION
the version of the HDFViewer
|
defaults
Constructor and Description |
---|
ViewProperties(String viewRoot)
Creates a property list with given root directory of the HDFView.
|
Modifier and Type | Method and Description |
---|---|
static Icon |
getAnimationIcon() |
static ImageIcon |
getAppsIcon() |
static ImageIcon |
getAudioIcon() |
static Icon |
getAutocontrastIcon() |
static Icon |
getBlankIcon() |
static Icon |
getBrightIcon() |
static Icon |
getChartIcon() |
static Icon |
getCopyIcon() |
static Icon |
getCutIcon() |
static String |
getDataDelimiter()
returns the delimiter of data values
|
static Icon |
getDatasetIcon() |
static Icon |
getDatasetIconA() |
static Icon |
getDatatypeIcon() |
static Icon |
getDatatypeIconA() |
static Icon |
getFilecloseIcon() |
static String |
getFileExtension()
gets the file extensions of supported file formats
|
static Icon |
getFilenewIcon() |
static Icon |
getFileopenIcon() |
static Icon |
getFilesaveIcon() |
static Icon |
getFirstIcon() |
static Icon |
getFoldercloseIcon() |
static Icon |
getFoldercloseIconA() |
static Icon |
getFolderopenIcon() |
static Icon |
getFolderopenIconA() |
static int |
getFontSize()
returns the font size
|
static String |
getFontType()
returns the font type
|
static Icon |
getH4Icon() |
static String |
getH4toH5()
returns the path of the H5toH5 converter
|
static Icon |
getH5Icon() |
static Icon |
getHdfIcon() |
static Icon |
getHelpIcon() |
static Vector<String> |
getHelpViewList()
returns a list of helpview modules
|
static Icon |
getImageIcon() |
static Icon |
getImageIconA() |
static String |
getImageOrigin()
returns the image origin
|
static Vector<String> |
getImageViewList()
returns a list of imageview modules
|
static String |
getIndexOrder()
returns the default index order for display
|
static String |
getIndexType()
returns the default index type for display
|
static Icon |
getLargeHdfIcon() |
static Icon |
getLastIcon() |
static 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 Vector<String> |
getMetaDataViewList()
returns a list of metadataview modules
|
static Vector<String> |
getMRF()
returns the list of most recent files
|
static Icon |
getNextIcon() |
static Icon |
getPaletteIcon() |
static Vector<String> |
getPaletteList()
returns the list of palette files
|
static Vector<String> |
getPaletteViewList()
returns a list of paletteview modules
|
static Icon |
getPasteIcon() |
static ImageIcon |
getPdfIcon() |
static Icon |
getPreviousIcon() |
static String |
getPropertyFile()
returns the name of the user property file
|
static Icon |
getQuestionIcon() |
static Vector<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 Icon |
getTableIcon() |
static Icon |
getTableIconA() |
static Vector<String> |
getTableViewList()
returns a list of tableview modules
|
static Icon |
getTextIcon() |
static Icon |
getTextIconA() |
static Vector<String> |
getTextViewList()
returns a list of textview modules
|
static Vector<String> |
getTreeViewList()
returns a list of treeview modules
|
static ImageIcon |
getUrlIcon() |
static String |
getUsersGuide()
return the path of the H5View uers guide
|
static ImageIcon |
getVideoIcon() |
static String |
getViewRoot()
returns the root directory where the HDFView is installed.
|
static String |
getWorkDir()
returns the default work directory, where the open file starts.
|
static ImageIcon |
getXlsIcon() |
static Icon |
getZoominIcon() |
static Icon |
getZoomoutIcon() |
static boolean |
isAutoContrast()
Returns true if auto contrast is used in image process.
|
static boolean |
isConvertEnum() |
static boolean |
isEarlyLib()
Returns true if default lib version is the earliest.
|
static boolean |
isIndexBase1() |
static boolean |
isReadOnly()
Returns true if default file access is read only.
|
Enumeration<Object> |
keys() |
void |
load()
Load user properties from property file
|
static ClassLoader |
loadExtClass()
load module classes
|
static void |
loadIcons() |
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(String delim)
set the delimiter of data values
|
static void |
setEarlyLib(boolean b)
Set the flag to indicate if default lib version is the earliest.
|
static void |
setFileExtension(String ext)
set the file extension
|
static void |
setFontSize(int fsize)
sets the font size
|
static void |
setFontType(String ftype)
sets the font size
|
static void |
setH4toH5(String tool)
set the path of the H5to H5 converter
|
static void |
setImageOrigin(String o)
set the image origin
|
static void |
setIndexBase1(boolean b)
Set the flag to indicate if IndexBase should start at 1.
|
static void |
setIndexOrder(String idxOrder)
set the index order
|
static void |
setIndexType(String idxType)
set the index type
|
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 |
setShowImageValue(boolean b)
Set the flag to indicate if "show image values" is set.
|
static void |
setShowRegRefValue(boolean b)
Set the flag to indicate if "show RegRef values" is set.
|
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(String str)
set the path of H5View User's guide
|
static void |
setWorkDir(String wDir)
set the path of the default work directory
|
static boolean |
showImageValues()
Returns true if "show image values" is set.
|
static boolean |
showRegRefValues()
Returns true if "show regref values" is set.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public static final String VERSION
public static final int MAX_RECENT_FILES
public static final String DELIMITER_TAB
public static final String DELIMITER_COMMA
public static final String DELIMITER_SPACE
public static final String DELIMITER_COLON
public static final String ORIGIN_UL
public static final String ORIGIN_LL
public static final String ORIGIN_UR
public static final String ORIGIN_LR
public static final String DELIMITER_SEMI_COLON
public ViewProperties(String viewRoot)
public static ClassLoader loadExtClass()
public static String getViewRoot()
public static Icon getFoldercloseIcon()
public static Icon getFoldercloseIconA()
public static Icon getFolderopenIcon()
public static Icon getFolderopenIconA()
public static Icon getHdfIcon()
public static Icon getDatasetIcon()
public static Icon getDatasetIconA()
public static Icon getDatatypeIcon()
public static Icon getDatatypeIconA()
public static Icon getLinkIcon()
public static Icon getFileopenIcon()
public static Icon getFilesaveIcon()
public static Icon getFilenewIcon()
public static Icon getFilecloseIcon()
public static Icon getPaletteIcon()
public static Icon getBrightIcon()
public static Icon getAutocontrastIcon()
public static Icon getImageIcon()
public static Icon getTableIcon()
public static Icon getTextIcon()
public static Icon getImageIconA()
public static Icon getTableIconA()
public static Icon getTextIconA()
public static Icon getZoominIcon()
public static Icon getZoomoutIcon()
public static Icon getBlankIcon()
public static Icon getHelpIcon()
public static Icon getCopyIcon()
public static Icon getCutIcon()
public static Icon getPasteIcon()
public static Icon getLargeHdfIcon()
public static Icon getPreviousIcon()
public static Icon getNextIcon()
public static Icon getFirstIcon()
public static Icon getLastIcon()
public static Icon getChartIcon()
public static Icon getAnimationIcon()
public static ImageIcon getAppsIcon()
public static ImageIcon getUrlIcon()
public static ImageIcon getVideoIcon()
public static ImageIcon getXlsIcon()
public static ImageIcon getPdfIcon()
public static ImageIcon getAudioIcon()
public static Icon getQuestionIcon()
public static void loadIcons()
public void save()
public static String getPropertyFile()
public static String getWorkDir()
public static int getMaxRecentFiles()
public static String getUsersGuide()
public static String getDataDelimiter()
public static String getImageOrigin()
public static String getIndexType()
public static String getIndexOrder()
public static int getFontSize()
public static String getFontType()
public static String getFileExtension()
public static void setFontSize(int fsize)
public static void setFontType(String ftype)
public static Vector<String> getPaletteList()
public static Vector<String[]> getSrbAccount()
public static Vector<String> getTreeViewList()
public static Vector<String> getMetaDataViewList()
public static Vector<String> getTextViewList()
public static Vector<String> getTableViewList()
public static Vector<String> getImageViewList()
public static Vector<String> getPaletteViewList()
public static Vector<String> getHelpViewList()
public static void setUsersGuide(String str)
public static void setWorkDir(String wDir)
public static void setFileExtension(String ext)
public static void setDataDelimiter(String delim)
public static void setImageOrigin(String o)
public static void setIndexType(String idxType)
public static void setIndexOrder(String idxOrder)
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 boolean showImageValues()
public static void setAutoContrast(boolean b)
b
- the flag to indicate if auto contrast is used in image
process.public static void setShowImageValue(boolean b)
b
- the flag to indicate if if "show image values" is set.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 isEarlyLib()
public static void setEarlyLib(boolean b)
b
- the flag to indicate if default lib version is the earliest.public static boolean isConvertEnum()
public static boolean showRegRefValues()
public static boolean isIndexBase1()
public static void setConvertEnum(boolean convertEnum)
convertEnum
- the convertEnum to setpublic static void setShowRegRefValue(boolean b)
b
- the flag to indicate if if "show RegRef values" is set.public static void setIndexBase1(boolean b)
b
- the flag to indicate if IndexBase should start at 1.Copyright © 2015. All Rights Reserved.