Object
Serializable
Represents a named capability for a control
.
Object
Capability
Serializable
WindowMode
, WindowState
Constructor Summary |
|
|
Method Summary |
public boolean |
|
public boolean | |
public |
|
public boolean |
|
public void |
|
public void | |
public |
|
Methods from class java.lang. |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Capability(String
name,
boolean entitlementsEnabled)
Construct a Capability
with a given name and specify whether or not entitlements are enabled.
public Capability(String
name)
Construct a Capability
with a given name.
Method Detail |
public boolean equals(Capability
c)
Returns true
if the given Capability is equal
to this Capability.
this
to
public boolean equals(Object
o)
Returns true
if the given Object is equal to
this Object.
Object.equals(Object)
this
to equals
this Capability
public String
getName()
Returns the name of this Capability.
name
of this Capability
public boolean isEntitlementsEnabled()
Returns whether or not entitlements are enabled for this Capability.
public void setEntitlementsEnabled(boolean entitlementsEnabled)
Set whether or not entitlements are enabled for this Capability.
public void setName(String
name)
Sets the name
of this Capability
.
name
of this Capability
public String
toString()
Returns this Capability
as a String
.
Object.toString()
String
representation of this Capability