TV-Browser 2.7.5 API

webplugin
Class WebAddress

java.lang.Object
  extended by webplugin.WebAddress
All Implemented Interfaces:
Cloneable

public class WebAddress
extends Object
implements Cloneable

A Web-Address


Constructor Summary
WebAddress(ObjectInputStream in)
          Create a WebAddress with a Stream
WebAddress(String name, String url, String iconFile, boolean userEntry, boolean active)
          Create the Address
WebAddress(WebAddress address)
          Create a Copy of a WebAddress
 
Method Summary
 Object clone()
           
 Icon getIcon()
           
 String getIconFile()
           
 String getName()
           
 String getUrl()
           
 boolean isActive()
           
 boolean isUserEntry()
           
 void readData(ObjectInputStream in)
           
 void setActive(boolean active)
           
 void setIconFile(String iconFile)
           
 void setName(String name)
           
 void setUrl(String url)
           
 void setUserEntry(boolean user)
           
 String toString()
           
 void writeData(ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebAddress

public WebAddress(String name,
                  String url,
                  String iconFile,
                  boolean userEntry,
                  boolean active)
Create the Address

Parameters:
name - Name
url - Url ( {0} as placeholder )
iconFile - Icon-File
userEntry - Is this Entry editable?
active - Is this Entry active?

WebAddress

public WebAddress(WebAddress address)
Create a Copy of a WebAddress

Parameters:
address - Copy Settings from this WebAddress

WebAddress

public WebAddress(ObjectInputStream in)
           throws IOException,
                  ClassNotFoundException
Create a WebAddress with a Stream

Parameters:
in - Input-Stream
Throws:
IOException
ClassNotFoundException
Method Detail

setName

public void setName(String name)

getName

public String getName()

setUrl

public void setUrl(String url)

getUrl

public String getUrl()

setIconFile

public void setIconFile(String iconFile)

getIconFile

public String getIconFile()

getIcon

public Icon getIcon()

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

isUserEntry

public boolean isUserEntry()

setUserEntry

public void setUserEntry(boolean user)

toString

public String toString()
Overrides:
toString in class Object

clone

public Object clone()
Overrides:
clone in class Object

readData

public void readData(ObjectInputStream in)
              throws IOException,
                     ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeData

public void writeData(ObjectOutputStream out)
               throws IOException
Throws:
IOException

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)