org.relayirc.swingui
Class ServerPanel.ServerHolder

java.lang.Object
  |
  +--org.relayirc.swingui.ServerPanel.ServerHolder
Enclosing class:
ServerPanel

public static class ServerPanel.ServerHolder
extends java.lang.Object

Holds server objects during editing, so changes can be cancelled.


Constructor Summary
ServerPanel.ServerHolder(Server server)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getNetwork()
           
 int[] getPorts()
           
 Server getServer()
           
 int getState()
           
 java.lang.String getTitle()
           
 boolean isFavorite()
           
 void saveValues()
           
 void setFavorite(boolean fave)
           
 void setName(java.lang.String name)
           
 void setNetwork(java.lang.String network)
           
 void setPorts(int[] ports)
           
 void setState(int state)
           
 void setTitle(java.lang.String title)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerPanel.ServerHolder

public ServerPanel.ServerHolder(Server server)
Method Detail

saveValues

public void saveValues()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getServer

public Server getServer()

isFavorite

public boolean isFavorite()

setFavorite

public void setFavorite(boolean fave)

getState

public int getState()

setState

public void setState(int state)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getNetwork

public java.lang.String getNetwork()

setNetwork

public void setNetwork(java.lang.String network)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getPorts

public int[] getPorts()

setPorts

public void setPorts(int[] ports)