public class ThemeIcon
extends java.lang.Object
Constructor and Description |
---|
ThemeIcon(java.lang.String category,
java.lang.String name)
Create a ThemeIcon in default size
|
ThemeIcon(java.lang.String category,
java.lang.String name,
int size)
Create a ThemeIcon
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress()
Gets the address of this icon or
null if no address is set. |
java.lang.String |
getCategory() |
java.lang.String |
getName() |
int |
getSize() |
int |
hashCode() |
void |
setAddress(java.lang.String address)
Sets the full address of this icon
|
public ThemeIcon(java.lang.String category, java.lang.String name, int size)
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 Iconpublic ThemeIcon(java.lang.String category, java.lang.String name)
category
- Category of the Icon (action, apps, devices etc)name
- Name of the Icon without Extension (go-down, mail-message-new etc)public java.lang.String getCategory()
public java.lang.String getName()
public int getSize()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setAddress(java.lang.String address)
address
- The full address of this iconpublic java.lang.String getAddress()
null
if no address is set.
null
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)