public class PRSManager extends Object
| Constructor and Description |
|---|
PRSManager() |
public static void update(Collection<? extends Action> actions, Component component, ResourceSetHolder holder)
public static void update(Action[] actions, Component component, ResourceSetHolder holder)
public static void updateOnFirstComponentShown(JComponent component, ResourceSetHolder holder)
public static void update(Component component, ResourceSetHolder holder)
public static void update(Action[] actions, ResourceSetHolder holder)
public static void update(Collection<Action> actions, ResourceSetHolder holder)
public static void update(Action action, ResourceSetHolder holder)
public static void update(Action action, MessageSet messageSet, IconSet iconSet)
public static void update(Collection<Action> actions, MessageSet messageSet, IconSet iconSet)
public static void update(Component component, MessageSet messageSet, IconSet iconSet)
public static void update(Collection<? extends Action> actions, Component component, MessageSet messageSet, IconSet iconSet)
public static void update(Collection<Action> actions, Component component, MessageSet messageSet)
public static void update(Collection<Action> actions, Component component, IconSet iconSet)
public static PRSBorder createBorder(String id, TitledBorder titledBorder)
public static JToggleButton createToggleButton(String id)
public static JCheckBoxMenuItem createCheckBoxMenuItem(String id)
public static JRadioButtonMenuItem createCheckButtonMenuItem(String id)
public static JRadioButton createRadio(String id, boolean selected)
public static void addSupport(JComponent a, String messageId, String iconId)
public static void addSupport(JComponent a, String id)
public static void addSupport(JComponent a, String id, ComponentMessageSetUpdater mu, ComponentIconSetUpdater iu)
public static void addSupport(JComponent a, String id, ComponentResourcesUpdater u)
public static void applyOrientation(Component c, MessageSet messageSet)
public static void applyOrientation(Component c)
public static JComboBox createCombo(String name, String valuesKey, Object[] values, int defaultSelected)
public static void configure(JComponent component, ResourceSetHolder resourceSetHolder)
public static void addMessageSetSupport(JComponent c, String id)
public static void removeMessageSetSupport(JComponent c)
public static void removeSupport(Action c)
public static void removeSupport(JComponent c)
public static void removeMessageSetSupport(Action c)
public static void addMessageSetSupport(JComponent c, String id, ComponentMessageSetUpdater u)
public static void loadAvailableMessageSets(URL repository, ClassLoader parent, Object owner, UrlCacheManager urlCacheManager) throws IOException
IOExceptionpublic static void setComponentMessageSet(JComponent component, MessageSet messageSet)
public static void addIconSetSupport(Action a, String id, ActionIconSetUpdater updater)
public static void addMessageSetSupport(Action a, String id, ActionMessageSetUpdater updater)
public static void setActionMessageSet(Action a, MessageSet messageSet)
public static Icon getIcon(String iconSetName, String icon) throws IconSetNotFoundException, IconNotFoundException
public static Icon getIcon(String icon, Locale locale) throws IconSetNotFoundException, IconNotFoundException
public static Icon getIcon(String iconSetName, String icon, Locale locale) throws IconSetNotFoundException, IconNotFoundException
public static IconSet getComponentIconSet(JComponent component, IconSet defaultIconSet) throws IconSetNotFoundException, IconNotFoundException
public static IconSet getActionIconSet(Action action, IconSet defaultIconSet) throws IconSetNotFoundException, IconNotFoundException
public static void setComponentResourceSetHolder(JComponent component, ResourceSetHolder h)
public static void setComponentIconSet(JComponent component, String iconSetName)
public static void setComponentIconSet(JComponent component, IconSet iconSet)
public static Icon getComponentIcon(JComponent component, String icon) throws IconSetNotFoundException, IconNotFoundException
public static IconSetFactory getIconSetFactory()
public static void setIconSetFactory(IconSetFactory fct)
public static IconSet getIconSet()
public static void setIconSet(IconSet iconSet)
public static void setIconSet(String iconSetName)
public static void registerIconSet(IconSetDescriptor desc, LoggerProvider loggerProvider)
public static IconSetDescriptor[] getIconSetDescriptors()
public static void updateActionsIconSet(Collection<? extends Action> actions, IconSet iconSet)
public static void updateComponentTreeIconSet(Component c)
public static void updateComponentTreeIconSet(Component c, IconSet defaultIconSet)
public static ComponentIconSetUpdater getDefaultComponentIconSetUpdater(Class c)
public static void setDefaultComponentIconSetUpdater(Class c, ComponentIconSetUpdater u)
public static void setDefaultComponentMessageSetUpdater(Class c, ComponentMessageSetUpdater u)
public static ComponentMessageSetUpdater getDefaultComponentMessageSetUpdater(Class c)
public static void addIconSetSupport(JComponent c, String id)
public static void removeIconSetSupport(JComponent c)
public static void removeIconSetSupport(Action c)
public static void addIconSetSupport(JComponent c, String id, ComponentIconSetUpdater u)
public static boolean isIconSetSupported(Action a)
public static boolean isIconSetSupported(JComponent c)
public static IconSetDescriptor[] lookupIconsetDescriptors(URL url, ClassLoader parent, Object owner, UrlCacheManager urlCacheManager, LoggerProvider loggerProvider) throws IOException
IOExceptionpublic static void registerMessageSet(URL messageSetURL, ClassLoader parent, Object owner, UrlCacheManager urlCacheManager, LoggerProvider loggerProvider) throws IOException
IOExceptionpublic static void registerIconSet(URL url, ClassLoader parent, Object owner, UrlCacheManager urlCacheManager, LoggerProvider loggerProvider) throws IOException
IOExceptionpublic static void loadAvailableIconSets(URL repository, ClassLoader parent, Object owner, UrlCacheManager urlCacheManager, LoggerProvider loggerProvider) throws IOException
IOExceptionpublic static void visit(ComponentTreeVisitor visitor, Component c, Object userObject)
public static boolean isShortNamePreferred(AbstractButton b)
public static void setShortNamePreferred(AbstractButton b, boolean enable)
public static void registerArtSets(URL url, ClassLoader parent, Object owner) throws IOException
IOExceptionpublic static ArtSet[] getArtSets()
public static void setCurrentArtSet(String id)
public static ArtSet getCurrentArtSet()
Copyright © 2021 vpc open source initiative. All rights reserved.