public interface AddeEntry
Modifier and Type | Interface and Description |
---|---|
static class |
AddeEntry.EditorAction
Represents the possible actions that an ADDE editor can perform.
|
static class |
AddeEntry.EntrySource
Where did this entry come from?
|
static class |
AddeEntry.EntryStatus
Has the user elected to disable this entry from appearing in its
relevant chooser?
|
static class |
AddeEntry.EntryType
Type of chooser this should appear under.
|
static class |
AddeEntry.EntryValidity
Sort of a "misc" status field...
|
Modifier and Type | Field and Description |
---|---|
static AddeAccount |
DEFAULT_ACCOUNT
Represents the "no accounting" entries.
|
Modifier and Type | Method and Description |
---|---|
String |
asStringId()
Currently used as a identifier for convenient storage by the server
manager.
|
AddeAccount |
getAccount()
Accounting information associated with the current entry.
|
String |
getAddress()
Address of the server associated with the current entry.
|
String |
getEntryAlias() |
AddeEntry.EntrySource |
getEntrySource()
Source that specified this entry.
|
AddeEntry.EntryStatus |
getEntryStatus()
GUI status of the entry.
|
String |
getEntryText()
Handy
String representation of this ADDE entry. |
AddeEntry.EntryType |
getEntryType()
Type of chooser this entry should appear under.
|
AddeEntry.EntryValidity |
getEntryValidity()
Does this entry represent a "valid" ADDE server.
|
String |
getGroup()
Dataset/group located on the server.
|
String |
getName()
Name associated with this entry.
|
boolean |
isEntryTemporary()
Determine whether or not this entry will be saved between application
sessions.
|
void |
setEntryAlias(String newAlias) |
void |
setEntryStatus(AddeEntry.EntryStatus newStatus) |
String |
toString()
String representation of this entry.
|
static final AddeAccount DEFAULT_ACCOUNT
String getAddress()
LocalAddeEntries
will return localhost
.AddeAccount getAccount()
DEFAULT_ACCOUNT
.AddeEntry.EntryType getEntryType()
AddeEntry.EntryValidity getEntryValidity()
AddeEntry.EntrySource getEntrySource()
AddeEntry.EntryStatus getEntryStatus()
AddeEntry.EntryValidity
in that
EntryStatus
controls this entry showing up in a chooser and has
nothing to do with whether or not the entry is a valid ADDE server.String getEntryText()
String
representation of this ADDE entry. Currently looks
like ADDRESS/GROUP
, but this is subject to change.String
.void setEntryStatus(AddeEntry.EntryStatus newStatus)
String getEntryAlias()
void setEntryAlias(String newAlias)
boolean isEntryTemporary()
String asStringId()
String toString()
Output will typically contain internal details and as such will differ
from getEntryText()
.