|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gerhardb.jibs.viewer.ViewerPreferences
public class ViewerPreferences
Wraps the preferences used by the viewer and provides an way of editing the preferences.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
static int |
START_LAST_VIEWED_DIRECTORY
|
static int |
START_NO_DIRECTORY
|
static int |
START_PARTICULAR_DIRECTORY
|
static int |
VIEW_NO_RESIZE_KEY
|
static int |
VIEW_NO_RESIZE_SCROLL
|
static int |
VIEW_RESIZE
|
static int |
VIEW_THUMBS
|
| Method Summary | |
|---|---|
static boolean |
blowUp()
|
static void |
clear()
Clears all preferences, typically for testing a new user. |
static boolean |
continuousShow()
|
static boolean |
countImageFilesInNodes()
|
static void |
flush()
|
static boolean |
getAbsolutePath()
|
static java.io.File |
getConfigDir()
Get the config dir. |
static java.io.File |
getConfigDirThumbed()
Must come before Jibs.getJibsPropFile() test because his could be set to something bogus for read-only thumbdrives. |
static int |
getExifPanelSize()
|
static boolean |
getGDFullScreen()
|
static java.io.File |
getKeyChangerFile()
|
static int |
getListPicturePanelDividerLocation()
|
static int |
getMaxBlow()
|
static int |
getSlideFlipDelay()
Show delay |
static int |
getSorterTileSize()
|
static int |
getSortOrder()
|
static int |
getStartType()
|
static int |
getTreePanelSize()
|
static java.lang.String |
getUI()
|
static int |
getView()
|
static javax.swing.Action[] |
getViewActions(IFrame frame)
|
static boolean |
immediateShow()
|
static void |
init()
|
static boolean |
isAutocopyFilenameEnabled()
|
static boolean |
isExifPanelShowing()
|
static boolean |
isFileCountNeeded()
Do once file conversion item. |
static boolean |
isShowSorterShowing()
|
static void |
main(java.lang.String[] args)
|
static void |
makeViewMenu(IFrame frame,
javax.swing.JMenu viewMenu)
Makes a new set for each UI its used on. |
static boolean |
rememberDirectories()
|
static void |
setAbsolutePath(boolean absolute)
|
static void |
setAutocopyFilenameEnabled(boolean enabled)
|
static void |
setBlowUp(boolean blowUp)
|
static void |
setConfigDir(java.io.File dir)
|
static void |
setContinuousShow(boolean continuousShow)
|
static void |
setCountImageFilesInNodes(boolean enabled)
|
static void |
setExifPanelShowing(boolean enabled)
|
static void |
setExifPanleSize(int size)
|
static void |
setGDFullScreen(boolean gdfs)
|
static void |
setImmediateShow(boolean startShow)
|
static void |
setListPicturePanelDividerLocation(int size)
|
static void |
setMaxBlow(int times)
|
static void |
setRememberDirectories(boolean remember)
|
static void |
setShowExifWarning(boolean showExifEnabled)
|
static void |
setShowSorterShowing(boolean view)
|
static void |
setSlideFlipDelay(int milliseconds)
|
static void |
setSorterTileSize(int size)
|
static void |
setSortOrder(int order)
|
static void |
setStartFullScreen(boolean startFullScreen)
|
static void |
setStartType(int startType)
|
static void |
setTreePanleSize(int size)
|
static void |
setTreeShowAllFileCount(boolean showAllFileCount)
|
static void |
setTreeShowImageFileCount(boolean showImageFileCount)
|
static void |
setUI(java.lang.String ui)
|
static void |
setView(IFrame frame)
|
static void |
setView(int view)
|
static boolean |
showExifWarning()
|
static boolean |
startFullScreen()
|
static boolean |
treeShowAllFileCount()
|
static boolean |
treeShowImageFileCount()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
public static final int START_NO_DIRECTORY
public static final int START_LAST_VIEWED_DIRECTORY
public static final int START_PARTICULAR_DIRECTORY
public static final int VIEW_RESIZE
public static final int VIEW_NO_RESIZE_KEY
public static final int VIEW_THUMBS
public static final int VIEW_NO_RESIZE_SCROLL
| Method Detail |
|---|
public static void init()
java.lang.SecurityExceptionpublic static java.io.File getKeyChangerFile()
public static java.io.File getConfigDirThumbed()
public static java.io.File getConfigDir()
public static void setConfigDir(java.io.File dir)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean getAbsolutePath()
public static void setAbsolutePath(boolean absolute)
public static java.lang.String getUI()
public static void setUI(java.lang.String ui)
public static boolean getGDFullScreen()
public static void setGDFullScreen(boolean gdfs)
public static int getStartType()
public static void setStartType(int startType)
public static int getListPicturePanelDividerLocation()
public static void setListPicturePanelDividerLocation(int size)
public static int getTreePanelSize()
public static void setExifPanleSize(int size)
public static int getExifPanelSize()
public static void setTreePanleSize(int size)
public static boolean showExifWarning()
public static void setShowExifWarning(boolean showExifEnabled)
public static boolean treeShowAllFileCount()
public static void setTreeShowAllFileCount(boolean showAllFileCount)
public static boolean treeShowImageFileCount()
public static void setTreeShowImageFileCount(boolean showImageFileCount)
public static boolean countImageFilesInNodes()
public static void setCountImageFilesInNodes(boolean enabled)
public static boolean rememberDirectories()
public static void setRememberDirectories(boolean remember)
public static boolean startFullScreen()
public static boolean immediateShow()
public static boolean continuousShow()
public static boolean blowUp()
public static int getMaxBlow()
public static int getSlideFlipDelay()
public static void setStartFullScreen(boolean startFullScreen)
public static void setImmediateShow(boolean startShow)
public static void setContinuousShow(boolean continuousShow)
public static void setBlowUp(boolean blowUp)
public static void setMaxBlow(int times)
public static void setSlideFlipDelay(int milliseconds)
public static boolean isFileCountNeeded()
public static int getSortOrder()
public static void setSortOrder(int order)
public static int getSorterTileSize()
public static void setSorterTileSize(int size)
public static int getView()
public static void setView(int view)
public static boolean isShowSorterShowing()
public static void setShowSorterShowing(boolean view)
public static void setView(IFrame frame)
public static javax.swing.Action[] getViewActions(IFrame frame)
public static void makeViewMenu(IFrame frame,
javax.swing.JMenu viewMenu)
public static void clear()
throws java.util.prefs.BackingStoreException
java.util.prefs.BackingStoreExceptionpublic static boolean isAutocopyFilenameEnabled()
public static void setAutocopyFilenameEnabled(boolean enabled)
public static boolean isExifPanelShowing()
public static void setExifPanelShowing(boolean enabled)
public static void flush()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||