|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.ui.persona.PersonaInfo
public final class PersonaInfo
A class that contains infos about a Persona.
Field Summary | |
---|---|
(package private) static java.lang.String |
DEFAULT_ID
|
(package private) static java.lang.String |
RANDOM_ID
|
Constructor Summary | |
---|---|
PersonaInfo()
|
|
PersonaInfo(boolean dummy)
|
|
PersonaInfo(java.io.File settings)
Create a new persona info from the given settings file. |
Method Summary | |
---|---|
java.awt.Color |
getAccentColor()
Gets the accent color of this Persona. |
java.lang.String |
getDescription()
Gets the description of this Persona. |
java.lang.String |
getDetailURL()
Gets the detail url for this Persona. |
java.awt.image.BufferedImage |
getFooterImage()
Gets the footer image of this Persona. |
java.awt.image.BufferedImage |
getHeaderImage()
Gets the header image of this Persona. |
javax.swing.ImageIcon |
getIcon()
Gets the icon for this Persona. |
java.lang.String |
getId()
Gets the id of this Persona. |
java.lang.String |
getName()
Gets the name of this Persona. |
java.awt.Color |
getShadowColor()
Gets the shadow color of this Persona. |
java.awt.Color |
getTextColor()
Gets the text color of this Persona. |
boolean |
isEditable()
Gets if this Persona can be edited. |
static boolean |
isRandomPersona(PersonaInfo info)
Gets if the given Persona is the random Persona dummy. |
boolean |
isSelectedPersona()
Gets if this Persona is currently activated. |
(package private) void |
load()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final java.lang.String DEFAULT_ID
static final java.lang.String RANDOM_ID
Constructor Detail |
---|
PersonaInfo(boolean dummy)
PersonaInfo()
public PersonaInfo(java.io.File settings) throws java.lang.IndexOutOfBoundsException
settings
- The settings to read the info from.
java.lang.IndexOutOfBoundsException
- Thrown if something was wrong in the settings file.Method Detail |
---|
void load() throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getDetailURL()
public java.awt.Color getTextColor()
public java.awt.Color getShadowColor()
public java.awt.Color getAccentColor()
public java.awt.image.BufferedImage getHeaderImage()
public java.awt.image.BufferedImage getFooterImage()
public java.lang.String getId()
public boolean isEditable()
public javax.swing.ImageIcon getIcon()
public boolean isSelectedPersona()
public static boolean isRandomPersona(PersonaInfo info)
info
- The Persona to check.
true
if the given Persona is the random dummy.
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |