public class World extends EasyIconTreeNode
| Constructor | Description |
|---|---|
World() |
The constructor for the World class.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAddress() |
|
java.lang.String |
getCodePage() |
This method returns a code-page if the world over-rides the standard code-page
|
javax.swing.Icon |
getIcon() |
Returns the icon assigned to this node.
|
int |
getLoginStyle() |
|
java.lang.String |
getNotes() |
|
int |
getPort() |
|
long |
getWorldID() |
Returns an ID unique to this world.
|
java.lang.String |
getWorldName() |
|
boolean |
isAutoLogin() |
|
boolean |
isOverride() |
This method reports whether the standard code-page has been over-ridden
|
boolean |
isSSL() |
|
boolean |
isValidWorld() |
This is a simple test to see if the world contains the barest minimum to
connect to a MU*
|
void |
setAddress(java.lang.String addy) |
|
void |
setCodePage(java.lang.String codePage) |
This method allows the code-page to be set, indicating that this world is to over-ride the
standard code-page.
|
void |
setLoginStyle(int style) |
|
void |
setNotes(java.lang.String notes) |
|
void |
setOverride(boolean override) |
This method sets whether the code-page has been over-ridden or not.
|
void |
setPort(int port) |
|
void |
setSSL(boolean state) |
|
void |
setWorldID(long newID) |
This method should only be used if setting up a previously existing
world.
|
void |
setWorldName(java.lang.String newName) |
|
java.lang.String |
toString() |
Return a string listing the name, address, and port
|
void |
useAutoLogin(boolean state) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObjectsetIconpublic void setWorldName(java.lang.String newName)
newName - public java.lang.String getWorldName()
public void setAddress(java.lang.String addy)
addy - public java.lang.String getAddress()
public void setPort(int port)
port - public int getPort()
public long getWorldID()
public void setWorldID(long newID)
newID - public void setSSL(boolean state)
state - public boolean isSSL()
public void useAutoLogin(boolean state)
state - public boolean isAutoLogin()
public void setLoginStyle(int style)
style - public int getLoginStyle()
public void setNotes(java.lang.String notes)
notes - public java.lang.String getNotes()
public javax.swing.Icon getIcon()
EasyIconTreeNodegetIcon in class EasyIconTreeNodepublic java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic java.lang.String getCodePage()
public void setCodePage(java.lang.String codePage)
codePage - The codepage to set, in the format of "cp1452"public boolean isOverride()
true The code-page over-ride has been enabled
false The code-page over-ride has not been enabledpublic void setOverride(boolean override)
override - true The code-page should be over-ridden
false The code-page should not be over-riddenpublic boolean isValidWorld()