public class ProgramInfoPrintSettings extends Object
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllFieldTypes() |
Object[] |
getFieldTypes() |
Font |
getFont() |
static ProgramInfoPrintSettings |
getInstance()
If no instance exisits create one.
|
boolean |
isPrintImage() |
boolean |
isPrintPluginIcons() |
void |
readData(ObjectInputStream in)
Read the settings from the data file.
|
void |
setFieldTypes(Object[] fieldTypes)
Set the program field types of this settings.
|
void |
setFont(Font font)
Set the font of this setting.
|
void |
setPrintImage(boolean printImage)
Set the printImage state of this setting
|
void |
setPrintPluginIcons(boolean printIcons)
Set the printPluginIcons state of this setting
|
void |
writeData(ObjectOutputStream out)
Write the settings to the data file.
|
public static ProgramInfoPrintSettings getInstance()
public void readData(ObjectInputStream in) throws IOException, ClassNotFoundException
in
- The input stream.IOException
- If something went wrong with the file io.ClassNotFoundException
- If a class could not be found.public void writeData(ObjectOutputStream out) throws IOException
out
- The output stream.IOException
- If something went wrong with the file io.public Font getFont()
public Object[] getFieldTypes()
public Object[] getAllFieldTypes()
public void setFont(Font font)
font
- The font to set.public void setPrintImage(boolean printImage)
printImage
- If the image should be printed.public boolean isPrintImage()
public void setPrintPluginIcons(boolean printIcons)
printIcons
- If the plugin icons should be printed.public boolean isPrintPluginIcons()
public void setFieldTypes(Object[] fieldTypes)
fieldTypes
- The field types to set.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)