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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerPanel.ServerHolder
public ServerPanel.ServerHolder(Server server)
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)