|
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.settings.PluginPictureSettings
public class PluginPictureSettings
Contains the settings of the picture settings of a plugin.
Field Summary | |
---|---|
static int |
ALL_PLUGINS_SETTINGS_TYPE
type to be used for showing pictures like the global plugin settings |
static int |
NO_PICTURE_TYPE
type to be used for not showing pictures |
static int |
ONLY_PICTURE_TYPE
type to be used for only showing pictures |
static int |
PICTURE_AND_DISCRIPTION_TYPE
type to be used for showing pictures and discription |
Constructor Summary | |
---|---|
PluginPictureSettings(int type)
Creates an instance of this settings with the given type. |
|
PluginPictureSettings(java.io.ObjectInputStream in)
Creates an instance of this settings from the given stream. |
Method Summary | |
---|---|
int |
getType()
Gets the type of this settings. |
boolean |
isShowingDescription()
Gets if the picture description is to be shown for this setting. |
boolean |
isShowingPictures()
Gets if the pictures should be shown for this setting. |
void |
writeData(java.io.ObjectOutputStream out)
Writes the data to the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL_PLUGINS_SETTINGS_TYPE
public static final int PICTURE_AND_DISCRIPTION_TYPE
public static final int ONLY_PICTURE_TYPE
public static final int NO_PICTURE_TYPE
Constructor Detail |
---|
public PluginPictureSettings(int type)
type
- The type to be used for this settings.public PluginPictureSettings(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The stream to read the values from.
java.io.IOException
- Thrown if something went wrong.
java.lang.ClassNotFoundException
- Thrown if something went wrong.Method Detail |
---|
public void writeData(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The stream to store the data to.
java.io.IOException
- Thrown if something went wrong.public boolean isShowingPictures()
True
if the picture is to be shown,
false
otherwise.public boolean isShowingDescription()
True
if the picture description is to be shown,
false
otherwise.public int getType()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |