Package zleurtor.scanmanager.view
Class ResourcesManager
java.lang.Object
zleurtor.scanmanager.view.ResourcesManager
The class to handle the UI resources.
- Author:
- Zleurtor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The button active color UI key.static final String
The apply all button text key.static final String
The apply to selected button text key.static final String
The button foreground UI key.static final String
The button border UI key.static final String
The button border insets bottom UI key.static final String
The button border insets left UI key.static final String
The button border insets right UI key.static final String
The button border insets top UI key.static final String
The cancel button text key.static final String
The configurator button text key.static final String
The copy to clipboard button text key.static final String
The delete button text key.static final String
The delete profile button text key.static final String
The deselect all button text key.static final String
The button foreground UI key.static final String
The load profile button text key.static final String
The next icon key.static final String
The previous icon key.static final String
The reset button text key.static final String
The save profile button text key.static final String
The select all button text key.static final String
The check box background UI key.static final String
The check box foreground UI key.static final String
The check box selected icon UI key.static final String
The check box unselected icon UI key.static final String
The background color key.static final String
The combo box background UI key.static final String
The combo box border UI key.static final String
The combo box border insets bottom UI key.static final String
The combo box border insets left UI key.static final String
The combo box border insets right UI key.static final String
The combo box border insets top UI key.static final String
The combo box foreground UI key.static final String
The combo box selection background UI key.static final String
The combo box selection foreground UI key.static final String
The overwrite confirm text key.static final String
The trash confirm text key.static final String
The file view directory icon UI key.static final String
The file view computer icon UI key.static final String
The file view hard drive icon UI key.static final String
The file view floppy drive icon UI key.static final String
The file view file icon UI key.static final String
The file view computer icon UI key.static final String
The file view directory icon UI key.static final String
The file view file icon UI key.static final String
The file view floppy drive icon UI key.static final String
The file view hard drive icon UI key.static final String
The formatted text field background UI key.static final String
The formatted text field caret foreground UI key.static final String
The formatted text field foreground UI key.static final String
The formatted text field selection background UI key.static final String
The formatted text field selection foreground UI key.static final String
The main icon key.static final String
The about icon key.static final String
The log icon key.static final String
The log icon key.static final String
The modelize icon key.static final String
The monochrome icon key.static final String
The polychrome icon key.static final String
The save icon key.static final String
The scan icon key.static final String
The shutdown icon key.static final String
The shutdown icon key.static final String
The snapshot icon key.static final String
The sound off icon key.static final String
The sound on icon key.static final String
The trash icon key.static final String
The update icon key.static final String
The background image key.static final String
The border bottom image key.static final String
The border bottom left image key.static final String
The border bottom right image key.static final String
The border left image key.static final String
The border right image key.static final String
The border top image key.static final String
The border top left image key.static final String
The border top right image key.static final String
The GPL v3 image key.static final String
The snapshot empty image key.static final String
The snapshot error image key.static final String
The stream image key.static final String
The toolbar border bottom image key.static final String
The toolbar border left image key.static final String
The toolbar border right image key.static final String
The wait image key.static final String
The download update option text key.static final String
The local update file option text key.static final String
The reboot option text key.static final String
The reboot selected option text key.static final String
The shutdown option text key.static final String
The shutdown selected option text key.static final String
The label background UI key.static final String
The label foreground UI key.static final String
The List background UI key.static final String
The List foreground UI key.static final String
The List selection background UI key.static final String
The List selection foreground UI key.static final String
The log panel background UI key.static final String
The log panel debug foreground UI key.static final String
The log panel error foreground UI key.static final String
The log panel info foreground UI key.static final String
The log panel other foreground UI key.static final String
The log panel warn foreground UI key.static final String
The log panel height UI key.static final String
The log panel width UI key.static final String
The option pane background UI key.static final String
The option pane error icon UI key.static final String
The option pane foreground UI key.static final String
The option pane information icon UI key.static final String
The option pane question icon UI key.static final String
The option pane warning icon UI key.static final String
The panel background UI key.static final String
The panel foreground UI key.static final String
The progress bar border UI key.static final String
The progress bar border insets bottom UI key.static final String
The progress bar border insets left UI key.static final String
The progress bar border insets right UI key.static final String
The progress bar border insets top UI key.static final String
The progress bar foreground UI key.static final String
The slider rule color UI key.static final String
The scroll bar arc UI key.static final String
The scroll bar background UI key.static final String
The scroll bar foreground UI key.static final String
The scroll bar thickness UI key.static final String
The scroll bar thickness UI key.static final String
The separator foreground UI key.static final String
The separator ratio UI key.static final String
The separator width UI key.static final String
The slaves panel selection UI key.static final String
The slider foreground color UI key.static final String
The slider cursor color UI key.static final String
quack sound key.static final String
The spinner border UI key.static final String
The spinner border insets bottom UI key.static final String
The spinner border insets left UI key.static final String
The spinner border insets right UI key.static final String
The spinner border insets top UI key.static final String
The spinner foreground UI key.static final String
The tabbed pane background UI key.static final String
The tabbed pane dark shadow UI key.static final String
The tabbed pane foreground UI key.static final String
The tabbed pane highlight UI key.static final String
The tabbed pane light UI key.static final String
The tabbed pane shadow UI key.static final String
The tabbed pane selected tab color UI key.static final String
The about text key.static final String
The awaiting snapshots text key.static final String
The AWB text key.static final String
The blue shift text key.static final String
The brightness text key.static final String
The contrast text key.static final String
The downloading update text key.static final String
The encoding text key.static final String
The enter profile name message key.static final String
The EV compensation text key.static final String
The exposure text key.static final String
The green shift text key.static final String
The image reading error message key.static final String
The download/local update file input message key.static final String
The reboot/restart input message key.static final String
The installing update text key.static final String
The loading log text key.static final String
The log level success text key.static final String
The log level error text key.static final String
The no pipe in profile name text key.static final String
The no slave text key.static final String
The no snapshot message key.static final String
The no update found text key.static final String
The profile not found text key.static final String
The profiles text key.static final String
The quality text key.static final String
The really quit confirm text key.static final String
The red shift text key.static final String
The saturation text key.static final String
The saving message key.static final String
The saving file text key.static final String
The sharpness text key.static final String
The shutter speed text key.static final String
The snapshot option text key.static final String
The stream error text key.static final String
The timeout text key.static final String
The unsupported options text key.static final String
The update error text key.static final String
The update slaves text key.static final String
The wait updates text key.static final String
The zip description text key.static final String
The text field background UI key.static final String
The text field border UI key.static final String
The text field border insets bottom UI key.static final String
The text field border insets left UI key.static final String
The text field border insets right UI key.static final String
The text field border insets top UI key.static final String
The text field caret foreground UI key.static final String
The text field foreground UI key.static final String
The text field selection background UI key.static final String
The text field selection foreground UI key.static final String
The title key.static final String
The about title key.static final String
The configurator title key.static final String
The configurator colors part title key.static final String
The configurator image part title key.static final String
The confirm title key.static final String
The error title key.static final String
The information title key.static final String
The input title key.static final String
The log panel title key.static final String
The save dialog title key.static final String
The snapshot options title key.static final String
The snapshots dialog title key.static final String
The trash title key.static final String
The update dialog title key.static final String
The wait dialog title key.static final String
The warning title key.static final String
The titled border color UI key.static final String
The button foreground UI key.static final String
The button border UI key.static final String
The button border insets bottom UI key.static final String
The button border insets left UI key.static final String
The button border insets right UI key.static final String
The button border insets top UI key.static final String
The button foreground UI key.static final String
The tool bar background UI key.static final String
The tool bar foreground UI key.static final String
The about tooltip key.static final String
The tooltip background UI key.static final String
The tooltip border UI key.static final String
The chromacity tooltip key.static final String
The tooltip foreground UI key.static final String
The log tooltip key.static final String
The modelize tooltip key.static final String
The save tooltip key.static final String
The scan tooltip key.static final String
The shutdown tooltip key.static final String
The snapshot tooltip key.static final String
The sound tooltip key.static final String
The trash tooltip key.static final String
The update tooltip key.static final String
The wait panel foreground UI key.static final String
The wait panel FPS UI key.static final String
The wait panel margin UI key. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Image
Colorize the given image with the given color.final AudioInputStream
Gets an audio input stream for the given key from the resource bundle or one of its parents.final Color
Gets a color for the given key from the resource bundle or one of its parents.final double
Gets a double for the given key from the resource bundle or one of its parents.final Image
Gets an image for the given key from the resource bundle or one of its parents.static final ResourcesManager
Returns the manager's unique instance.final int
Gets an integer for the given key from the resource bundle or one of its parents.final String
Gets a string for the given key from the resource bundle or one of its parents.
-
Field Details
-
KEY_TITLE
The title key.- See Also:
-
KEY_TITLE_SAVEDIALOG
The save dialog title key.- See Also:
-
KEY_TITLE_CONFIGURATOR
The configurator title key.- See Also:
-
KEY_TITLE_INFO
The information title key.- See Also:
-
KEY_TITLE_WARNING
The warning title key.- See Also:
-
KEY_TITLE_TRASH
The trash title key.- See Also:
-
KEY_TITLE_ERROR
The error title key.- See Also:
-
KEY_TITLE_CONFIRM
The confirm title key.- See Also:
-
KEY_TITLE_INPUT
The input title key.- See Also:
-
KEY_TITLE_ABOUT
The about title key.- See Also:
-
KEY_TITLE_SNAPSHOTOPTIONS
The snapshot options title key.- See Also:
-
KEY_TITLE_CONFIGURATOR_IMAGE
The configurator image part title key.- See Also:
-
KEY_TITLE_CONFIGURATOR_COLORS
The configurator colors part title key.- See Also:
-
KEY_TITLE_LOGDIALOG
The log panel title key.- See Also:
-
KEY_TITLE_UPDATEDIALOG
The update dialog title key.- See Also:
-
KEY_TITLE_SNAPSHOTSDIALOG
The snapshots dialog title key.- See Also:
-
KEY_TITLE_WAITUPDATEDIALOG
The wait dialog title key.- See Also:
-
KEY_ICON
The main icon key.- See Also:
-
KEY_ICON_SCAN
The scan icon key.- See Also:
-
KEY_ICON_SNAPSHOT
The snapshot icon key.- See Also:
-
KEY_ICON_MODELIZE
The modelize icon key.- See Also:
-
KEY_ICON_SAVE
The save icon key.- See Also:
-
KEY_ICON_TRASH
The trash icon key.- See Also:
-
KEY_ICON_SHUTDOWN
The shutdown icon key.- See Also:
-
KEY_ICON_ABOUT
The about icon key.- See Also:
-
KEY_ICON_UPDATE
The update icon key.- See Also:
-
KEY_ICON_LOGBUTTON
The log icon key.- See Also:
-
KEY_ICON_SHUTDOWNBUTTON
The shutdown icon key.- See Also:
-
KEY_ICON_LOG
The log icon key.- See Also:
-
KEY_ICON_SOUNDON
The sound on icon key.- See Also:
-
KEY_ICON_SOUNDOFF
The sound off icon key.- See Also:
-
KEY_ICON_POLYCHROME
The polychrome icon key.- See Also:
-
KEY_ICON_MONOCHROME
The monochrome icon key.- See Also:
-
KEY_BUTTON_PREVIOUS
The previous icon key.- See Also:
-
KEY_BUTTON_NEXT
The next icon key.- See Also:
-
KEY_COLOR_BACKGROUND
The background color key.- See Also:
-
KEY_TOOLTIP_SCAN
The scan tooltip key.- See Also:
-
KEY_TOOLTIP_SNAPSHOT
The snapshot tooltip key.- See Also:
-
KEY_TOOLTIP_MODELIZE
The modelize tooltip key.- See Also:
-
KEY_TOOLTIP_SAVE
The save tooltip key.- See Also:
-
KEY_TOOLTIP_TRASH
The trash tooltip key.- See Also:
-
KEY_TOOLTIP_SHUTDOWN
The shutdown tooltip key.- See Also:
-
KEY_TOOLTIP_ABOUT
The about tooltip key.- See Also:
-
KEY_TOOLTIP_UPDATE
The update tooltip key.- See Also:
-
KEY_TOOLTIP_SOUND
The sound tooltip key.- See Also:
-
KEY_TOOLTIP_LOG
The log tooltip key.- See Also:
-
KEY_TOOLTIP_CHROMACITY
The chromacity tooltip key.- See Also:
-
KEY_IMAGE_SNAPSHOTERROR
The snapshot error image key.- See Also:
-
KEY_IMAGE_SNAPSHOTEMPTY
The snapshot empty image key.- See Also:
-
KEY_IMAGE_STREAM
The stream image key.- See Also:
-
KEY_IMAGE_WAIT
The wait image key.- See Also:
-
KEY_IMAGE_BACKGROUND
The background image key.- See Also:
-
KEY_IMAGE_BORDER_TOP
The border top image key.- See Also:
-
KEY_IMAGE_BORDER_BOTTOM
The border bottom image key.- See Also:
-
KEY_IMAGE_BORDER_LEFT
The border left image key.- See Also:
-
KEY_IMAGE_BORDER_RIGHT
The border right image key.- See Also:
-
KEY_IMAGE_BORDER_TOPLEFT
The border top left image key.- See Also:
-
KEY_IMAGE_BORDER_TOPRIGHT
The border top right image key.- See Also:
-
KEY_IMAGE_BORDER_BOTTOMLEFT
The border bottom left image key.- See Also:
-
KEY_IMAGE_BORDER_BOTTOMRIGHT
The border bottom right image key.- See Also:
-
KEY_IMAGE_TOOLBAR_BORDER_BOTTOM
The toolbar border bottom image key.- See Also:
-
KEY_IMAGE_TOOLBAR_BORDER_LEFT
The toolbar border left image key.- See Also:
-
KEY_IMAGE_TOOLBAR_BORDER_RIGHT
The toolbar border right image key.- See Also:
-
KEY_IMAGE_GPLV3
The GPL v3 image key.- See Also:
-
KEY_CONFIRM_TRASH
The trash confirm text key.- See Also:
-
KEY_CONFIRM_OVERWRITE
The overwrite confirm text key.- See Also:
-
KEY_TEXT_SAVINGFILES
The saving file text key.- See Also:
-
KEY_TEXT_ZIPDESCRIPTION
The zip description text key.- See Also:
-
KEY_TEXT_SNAPSHOTOPTIONS
The snapshot option text key.- See Also:
-
KEY_TEXT_STREAMERROR
The stream error text key.- See Also:
-
KEY_TEXT_QUALITY
The quality text key.- See Also:
-
KEY_TEXT_TIMEOUT
The timeout text key.- See Also:
-
KEY_TEXT_ENCODING
The encoding text key.- See Also:
-
KEY_TEXT_SHARPNESS
The sharpness text key.- See Also:
-
KEY_TEXT_CONTRAST
The contrast text key.- See Also:
-
KEY_TEXT_BRIGHTNESS
The brightness text key.- See Also:
-
KEY_TEXT_SATURATION
The saturation text key.- See Also:
-
KEY_TEXT_EVCOMPENSATION
The EV compensation text key.- See Also:
-
KEY_TEXT_EXPOSURE
The exposure text key.- See Also:
-
KEY_TEXT_AWB
The AWB text key.- See Also:
-
KEY_TEXT_SHUTTERSPEED
The shutter speed text key.- See Also:
-
KEY_TEXT_RED
The red shift text key.- See Also:
-
KEY_TEXT_GREEN
The green shift text key.- See Also:
-
KEY_TEXT_BLUE
The blue shift text key.- See Also:
-
KEY_TEXT_UNSUPPORTEDOPTIONS
The unsupported options text key.- See Also:
-
KEY_TEXT_DOWNLOADINGUPDATE
The downloading update text key.- See Also:
-
KEY_TEXT_INSTALLINGUPDATE
The installing update text key.- See Also:
-
KEY_TEXT_LOGLEVELERROR
The log level success text key.- See Also:
-
KEY_TEXT_LOGLEVELSUCCESS
The log level error text key.- See Also:
-
KEY_TEXT_REALLYQUIT
The really quit confirm text key.- See Also:
-
KEY_TEXT_LOADINGLOG
The loading log text key.- See Also:
-
KEY_TEXT_AWAITINGSNAPSHOTS
The awaiting snapshots text key.- See Also:
-
KEY_TEXT_NOSLAVE
The no slave text key.- See Also:
-
KEY_TEXT_UPDATEERROR
The update error text key.- See Also:
-
KEY_TEXT_NOUPDATE
The no update found text key.- See Also:
-
KEY_TEXT_UPDATESLAVES
The update slaves text key.- See Also:
-
KEY_TEXT_WAITUPDATEDIALOG
The wait updates text key.- See Also:
-
KEY_TEXT_PROFILES
The profiles text key.- See Also:
-
KEY_TEXT_PROFILENOTFOUND
The profile not found text key.- See Also:
-
KEY_TEXT_NOPIPEINPROFILE
The no pipe in profile name text key.- See Also:
-
KEY_TEXT_INPUTDOWNLOADLOCAL
The download/local update file input message key.- See Also:
-
KEY_TEXT_ABOUT
The about text key.- See Also:
-
KEY_TEXT_INPUTREBOOTSHUTDOWN
The reboot/restart input message key.- See Also:
-
KEY_TEXT_ENTERPROFILENAME
The enter profile name message key.- See Also:
-
KEY_TEXT_NOSNAPSHOT
The no snapshot message key.- See Also:
-
KEY_TEXT_IMAGEREADINGERROR
The image reading error message key.- See Also:
-
KEY_TEXT_SAVING
The saving message key.- See Also:
-
KEY_BUTTON_CONFIGURATOR
The configurator button text key.- See Also:
-
KEY_BUTTON_CANCEL
The cancel button text key.- See Also:
-
KEY_BUTTON_DELETE
The delete button text key.- See Also:
-
KEY_BUTTON_APPLYTOSELECTED
The apply to selected button text key.- See Also:
-
KEY_BUTTON_APPLYALL
The apply all button text key.- See Also:
-
KEY_BUTTON_RESET
The reset button text key.- See Also:
-
KEY_BUTTON_SELECTALL
The select all button text key.- See Also:
-
KEY_BUTTON_DESELECTALL
The deselect all button text key.- See Also:
-
KEY_BUTTON_COPYTOCLIPBOARD
The copy to clipboard button text key.- See Also:
-
KEY_BUTTON_LOAD_PROFILE
The load profile button text key.- See Also:
-
KEY_BUTTON_SAVEPROFILE
The save profile button text key.- See Also:
-
KEY_BUTTON_DELETEPROFILE
The delete profile button text key.- See Also:
-
KEY_INPUT_REBOOT
The reboot option text key.- See Also:
-
KEY_INPUT_SHUTDOWN
The shutdown option text key.- See Also:
-
KEY_INPUT_REBOOTSELECTED
The reboot selected option text key.- See Also:
-
KEY_INPUT_SHUTDOWNSELECTED
The shutdown selected option text key.- See Also:
-
KEY_INPUT_DOWNLOAD_UPDATE
The download update option text key.- See Also:
-
KEY_INPUT_LOCAL_UPDATE_FILE
The local update file option text key.- See Also:
-
KEY_SOUND_QUACK
quack sound key.- See Also:
-
KEY_PANEL_BACKGROUND
The panel background UI key.- See Also:
-
KEY_PANEL_FOREGROUND
The panel foreground UI key.- See Also:
-
KEY_BUTTON_BACKGROUND
The button foreground UI key.- See Also:
-
KEY_BUTTON_FOREGROUND
The button foreground UI key.- See Also:
-
KEY_BUTTON_BORDER
The button border UI key.- See Also:
-
KEY_BUTTON_BORDERINSETS_TOP
The button border insets top UI key.- See Also:
-
KEY_BUTTON_BORDERINSETS_LEFT
The button border insets left UI key.- See Also:
-
KEY_BUTTON_BORDERINSETS_BOTTOM
The button border insets bottom UI key.- See Also:
-
KEY_BUTTON_BORDERINSETS_RIGHT
The button border insets right UI key.- See Also:
-
KEY_BUTTON_ACTIVE
The button active color UI key.- See Also:
-
KEY_TOGGLEBUTTON_BACKGROUND
The button foreground UI key.- See Also:
-
KEY_TOGGLEBUTTON_FOREGROUND
The button foreground UI key.- See Also:
-
KEY_TOGGLEBUTTON_BORDER
The button border UI key.- See Also:
-
KEY_TOGGLEBUTTON_BORDERINSETS_TOP
The button border insets top UI key.- See Also:
-
KEY_TOGGLEBUTTON_BORDERINSETS_LEFT
The button border insets left UI key.- See Also:
-
KEY_TOGGLEBUTTON_BORDERINSETS_BOTTOM
The button border insets bottom UI key.- See Also:
-
KEY_TOGGLEBUTTON_BORDERINSETS_RIGHT
The button border insets right UI key.- See Also:
-
KEY_LABEL_BACKGROUND
The label background UI key.- See Also:
-
KEY_LABEL_FOREGROUND
The label foreground UI key.- See Also:
-
KEY_TEXTFIELD_BACKGROUND
The text field background UI key.- See Also:
-
KEY_TEXTFIELD_FOREGROUND
The text field foreground UI key.- See Also:
-
KEY_TEXTFIELD_SELECTIONBACKGROUND
The text field selection background UI key.- See Also:
-
KEY_TEXTFIELD_SELECTIONFOREGROUND
The text field selection foreground UI key.- See Also:
-
KEY_TEXTFIELD_CARETFOREGROUND
The text field caret foreground UI key.- See Also:
-
KEY_TEXTFIELD_BORDER
The text field border UI key.- See Also:
-
KEY_TEXTFIELD_BORDERINSETS_TOP
The text field border insets top UI key.- See Also:
-
KEY_TEXTFIELD_BORDERINSETS_LEFT
The text field border insets left UI key.- See Also:
-
KEY_TEXTFIELD_BORDERINSETS_BOTTOM
The text field border insets bottom UI key.- See Also:
-
KEY_TEXTFIELD_BORDERINSETS_RIGHT
The text field border insets right UI key.- See Also:
-
KEY_TOOLBAR_BACKGROUND
The tool bar background UI key.- See Also:
-
KEY_TOOLBAR_FOREGROUND
The tool bar foreground UI key.- See Also:
-
KEY_OPTIONPANE_BACKGROUND
The option pane background UI key.- See Also:
-
KEY_OPTIONPANE_FOREGROUND
The option pane foreground UI key.- See Also:
-
KEY_OPTIONPANE_QUESTIONICON
The option pane question icon UI key.- See Also:
-
KEY_OPTIONPANE_INFORMATIONICON
The option pane information icon UI key.- See Also:
-
KEY_OPTIONPANE_ERRORICON
The option pane error icon UI key.- See Also:
-
KEY_OPTIONPANE_WARNINGICON
The option pane warning icon UI key.- See Also:
-
KEY_SCROLLBAR_BACKGROUND
The scroll bar background UI key.- See Also:
-
KEY_SCROLLBAR_FOREGROUND
The scroll bar foreground UI key.- See Also:
-
KEY_SCROLLBAR_ARC
The scroll bar arc UI key.- See Also:
-
KEY_SCROLLBAR_THICKNESS
The scroll bar thickness UI key.- See Also:
-
KEY_SCROLLBAR_INCREMENT
The scroll bar thickness UI key.- See Also:
-
KEY_SPINNER_FOREGROUND
The spinner foreground UI key.- See Also:
-
KEY_SPINNER_BORDER
The spinner border UI key.- See Also:
-
KEY_SPINNER_BORDERINSETS_TOP
The spinner border insets top UI key.- See Also:
-
KEY_SPINNER_BORDERINSETS_LEFT
The spinner border insets left UI key.- See Also:
-
KEY_SPINNER_BORDERINSETS_BOTTOM
The spinner border insets bottom UI key.- See Also:
-
KEY_SPINNER_BORDERINSETS_RIGHT
The spinner border insets right UI key.- See Also:
-
KEY_FORMATTEDTEXTFIELD_BACKGROUND
The formatted text field background UI key.- See Also:
-
KEY_FORMATTEDTEXTFIELD_FOREGROUND
The formatted text field foreground UI key.- See Also:
-
KEY_FORMATTEDTEXTFIELD_SELECTIONBACKGROUND
The formatted text field selection background UI key.- See Also:
-
KEY_FORMATTEDTEXTFIELD_SELECTIONFOREGROUND
The formatted text field selection foreground UI key.- See Also:
-
KEY_FORMATTEDTEXTFIELD_CARETFOREGROUND
The formatted text field caret foreground UI key.- See Also:
-
KEY_COMBOBOX_BACKGROUND
The combo box background UI key.- See Also:
-
KEY_COMBOBOX_FOREGROUND
The combo box foreground UI key.- See Also:
-
KEY_COMBOBOX_SELECTIONBACKGROUND
The combo box selection background UI key.- See Also:
-
KEY_COMBOBOX_SELECTIONFOREGROUND
The combo box selection foreground UI key.- See Also:
-
KEY_COMBOBOX_BORDER
The combo box border UI key.- See Also:
-
KEY_COMBOBOX_BORDERINSETS_TOP
The combo box border insets top UI key.- See Also:
-
KEY_COMBOBOX_BORDERINSETS_LEFT
The combo box border insets left UI key.- See Also:
-
KEY_COMBOBOX_BORDERINSETS_BOTTOM
The combo box border insets bottom UI key.- See Also:
-
KEY_COMBOBOX_BORDERINSETS_RIGHT
The combo box border insets right UI key.- See Also:
-
KEY_CHECKBOX_BACKGROUND
The check box background UI key.- See Also:
-
KEY_CHECKBOX_FOREGROUND
The check box foreground UI key.- See Also:
-
KEY_CHECKBOX_SELECTEDICON
The check box selected icon UI key.- See Also:
-
KEY_CHECKBOX_UNSELECTEDICON
The check box unselected icon UI key.- See Also:
-
KEY_SLAVESPANEL_SELECTION
The slaves panel selection UI key.- See Also:
-
KEY_RULE_TRACKCOLOR
The slider rule color UI key.- See Also:
-
KEY_SLIDER_THUMBCOLOR
The slider cursor color UI key.- See Also:
-
KEY_SLIDER_FOREGROUND
The slider foreground color UI key.- See Also:
-
KEY_LIST_BACKGROUND
The List background UI key.- See Also:
-
KEY_LIST_FOREGROUND
The List foreground UI key.- See Also:
-
KEY_LIST_SELECTIONBACKGROUND
The List selection background UI key.- See Also:
-
KEY_LIST_SELECTIONFOREGROUND
The List selection foreground UI key.- See Also:
-
KEY_TITLEDBORDER_COLOR
The titled border color UI key.- See Also:
-
KEY_FILEVIEW_FILEICON
The file view file icon UI key.- See Also:
-
KEY_FILEVIEW_FLOPPYDRIVEICON
The file view floppy drive icon UI key.- See Also:
-
KEY_FILEVIEW_COMPUTERICON
The file view computer icon UI key.- See Also:
-
KEY_FILEVIEW_HARDDRIVEICON
The file view hard drive icon UI key.- See Also:
-
KEY_FILEVIEW_DIRECTORYICON
The file view directory icon UI key.- See Also:
-
KEY_FILECHOOSER_UPFOLDERICON
The file view file icon UI key.- See Also:
-
KEY_FILECHOOSER_NEWFOLDERICON
The file view floppy drive icon UI key.- See Also:
-
KEY_FILECHOOSER_HOMEFOLDERICON
The file view computer icon UI key.- See Also:
-
KEY_FILECHOOSER_LISTVIEWICON
The file view hard drive icon UI key.- See Also:
-
KEY_FILECHOOSER_DETAILSVIEWICON
The file view directory icon UI key.- See Also:
-
KEY_LOGPANEL_BAKCGROUND
The log panel background UI key.- See Also:
-
KEY_LOGPANEL_FOREGROUND_INFO
The log panel info foreground UI key.- See Also:
-
KEY_LOGPANEL_FOREGROUND_WARN
The log panel warn foreground UI key.- See Also:
-
KEY_LOGPANEL_FOREGROUND_ERROR
The log panel error foreground UI key.- See Also:
-
KEY_LOGPANEL_FOREGROUND_DEBUG
The log panel debug foreground UI key.- See Also:
-
KEY_LOGPANEL_FOREGROUND_OTHER
The log panel other foreground UI key.- See Also:
-
KEY_LOGPANEL_WIDTH
The log panel width UI key.- See Also:
-
KEY_LOGPANEL_HEIGHT
The log panel height UI key.- See Also:
-
KEY_WAITPANEL_FOREGROUND
The wait panel foreground UI key.- See Also:
-
KEY_WAITPANEL_MARGIN
The wait panel margin UI key.- See Also:
-
KEY_WAITPANEL_FPS
The wait panel FPS UI key.- See Also:
-
KEY_SEPARATOR_RATIO
The separator ratio UI key.- See Also:
-
KEY_SEPARATOR_FOREGROUND
The separator foreground UI key.- See Also:
-
KEY_SEPARATOR_WIDTH
The separator width UI key.- See Also:
-
KEY_TOOLTIP_BACKGROUND
The tooltip background UI key.- See Also:
-
KEY_TOOLTIP_FOREGROUND
The tooltip foreground UI key.- See Also:
-
KEY_TOOLTIP_BORDER
The tooltip border UI key.- See Also:
-
KEY_PROGRESSBAR_BORDER
The progress bar border UI key.- See Also:
-
KEY_PROGRESSBAR_FOREGROUND
The progress bar foreground UI key.- See Also:
-
KEY_PROGRESSBAR_BORDERINSETS_TOP
The progress bar border insets top UI key.- See Also:
-
KEY_PROGRESSBAR_BORDERINSETS_LEFT
The progress bar border insets left UI key.- See Also:
-
KEY_PROGRESSBAR_BORDERINSETS_BOTTOM
The progress bar border insets bottom UI key.- See Also:
-
KEY_PROGRESSBAR_BORDERINSETS_RIGHT
The progress bar border insets right UI key.- See Also:
-
KEY_TABBEDPANE_BACKGROUND
The tabbed pane background UI key.- See Also:
-
KEY_TABBEDPANE_FOREGROUND
The tabbed pane foreground UI key.- See Also:
-
KEY_TABBEDPANE_HIGHLIGHT
The tabbed pane highlight UI key.- See Also:
-
KEY_TABBEDPANE_LIGHT
The tabbed pane light UI key.- See Also:
-
KEY_TABBEDPANE_SHADOW
The tabbed pane shadow UI key.- See Also:
-
KEY_TABBEDPANE_DARKSHADOW
The tabbed pane dark shadow UI key.- See Also:
-
KEY_TABBEDPANE_TABSELECTEDCOLOR
The tabbed pane selected tab color UI key.- See Also:
-
-
Constructor Details
-
ResourcesManager
public ResourcesManager()
-
-
Method Details
-
getInstance
Returns the manager's unique instance.- Returns:
- The manager's unique instance.
-
getString
Gets a string for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired string.args
- The arguments to format the message.- Returns:
- The string for the given key.
-
getImage
Gets an image for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired image.- Returns:
- The image for the given key.
- Throws:
IOException
- If an Input/Output error occurs while reading the image.
-
getColor
Gets a color for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired color.- Returns:
- The color for the given key.
-
getInt
Gets an integer for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired integer.- Returns:
- The integer for the given key.
-
getDouble
Gets a double for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired double.- Returns:
- The double for the given key.
-
getAudio
public final AudioInputStream getAudio(String key) throws UnsupportedAudioFileException, IOException Gets an audio input stream for the given key from the resource bundle or one of its parents.- Parameters:
key
- The key for the desired audio input stream.- Returns:
- The audio input stream for the given key.
- Throws:
UnsupportedAudioFileException
- If the stream does not point to valid audiofile data recognized by the systemIOException
- If an input/output error occurs.
-
colorize
Colorize the given image with the given color. New pixel color has the same alpha value than the same pixel in the image and his liminance is multiplied by the luminance of the same pixel in the image- Parameters:
i
- The image to colorize.c
- The color to use to colorize the image.- Returns:
- A colorized copy of the specified image.
-