Class SwingIconSetManager
java.lang.Object
net.thevpc.common.swing.iconset.SwingIconSetManager
- Author:
- Taha BEN SALAH (taha.bensalah@gmail.com) %creationtime 23 juin 2006 17:21:52
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddIconSetSupport(Action a, String id) static voidaddIconSetSupport(Action a, String id, ActionIconSetUpdater updater) static voidaddIconSetSupport(JComponent c, String id) static voidstatic IconSetgetActionIconSet(Action action, IconSet defaultIconSet) static IcongetComponentIcon(JComponent component, String icon) static IconSetgetComponentIconSet(JComponent component, IconSet defaultIconSet) static ComponentIconSetUpdaterstatic booleanstatic booleanstatic voidstatic voidstatic voidsetActionIconSet(Action action, String defaultIconSet) static voidsetActionIconSet(Action action, IconSet defaultIconSet) static voidsetComponentIconSet(JComponent component, String iconSetName) static voidsetComponentIconSet(JComponent component, IconSet iconSet) static voidstatic voidupdateActionIconSet(Action action, IconSet iconSet) static voidupdateActionsIconSet(Collection<? extends Action> actions, IconSet iconSet) static voidupdateComponentTree(Component c, IconSet defaultIconSet) static void
-
Field Details
-
PROP_SUPPORTED
- See Also:
-
PROP_ID
- See Also:
-
PROP_IMPL
- See Also:
-
PROP_ICON_SET
- See Also:
-
-
Method Details
-
getComponentIconSet
public static IconSet getComponentIconSet(JComponent component, IconSet defaultIconSet) throws IconSetNotFoundException, IconNotFoundException -
getActionIconSet
public static IconSet getActionIconSet(Action action, IconSet defaultIconSet) throws IconSetNotFoundException, IconNotFoundException -
setActionIconSet
-
setActionIconSet
-
setComponentIconSet
-
setComponentIconSet
-
getComponentIcon
public static Icon getComponentIcon(JComponent component, String icon) throws IconSetNotFoundException, IconNotFoundException -
updateActionsIconSet
-
updateComponentTreeIconSet
-
updateComponentTree
-
getDefaultComponentIconSetUpdater
-
setDefaultComponentIconSetUpdater
-
addIconSetSupport
-
addIconSetSupport
-
addIconSetSupport
-
removeIconSetSupport
-
removeIconSetSupport
-
addIconSetSupport
-
updateActionIconSet
-
isIconSetSupported
-
isIconSetSupported
-