devplugin
Class ThemeIcon
java.lang.Object
devplugin.ThemeIcon
public class ThemeIcon
- extends Object
This Class represents an Icon in the Icon-Theme.
You can use this Class to identify a specific Icon.
To load the Icon, please use Plugin.getPluginManager().getIconFromTheme(plugin, themeIcon, size)
- Since:
- 2.2
ThemeIcon
public ThemeIcon(String category,
String name,
int size)
- Create a ThemeIcon
- Parameters:
category - Category of the Icon (action, apps, devices etc)name - Name of the Icon without Extension (go-down, mail-message-new etc)size - Size of the Icon
getCategory
public String getCategory()
- Returns:
- Category of the Icon
getName
public String getName()
- Returns:
- Name of the Icon
getSize
public int getSize()
- Returns:
- Size of the Icon
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)