public class UIDescriptorBean extends Object implements EntryBean, Serializable
UIDescriptor
object.UIDescriptor
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected UIDescriptor |
assoc |
Constructor and Description |
---|
UIDescriptorBean()
Construct a new JavaBeans component, linked to a new empty
UIDescriptor object. |
UIDescriptorBean(String role,
String toolkit,
Set attributes,
MarshalledObject factory) |
Modifier and Type | Method and Description |
---|---|
Entry |
followLink()
Return the
UIDescriptor linked to by this JavaBeans component. |
Set |
getAttributes()
Return the value of the
attributes field in the object linked to by
this JavaBeans component. |
MarshalledObject |
getFactory()
Return the value of the
factory field in the object linked to by
this JavaBeans component. |
String |
getRole()
Return the value of the
role field in the object linked to by
this JavaBeans component. |
String |
getToolkit()
Return the value of the
toolkit field in the object linked to by
this JavaBeans component. |
void |
makeLink(Entry e)
Make a link to a
UIDescriptor object. |
void |
setAttributes(Set attributes)
Set the value of the
attributes field in the object linked to by this
JavaBeans component. |
void |
setFactory(MarshalledObject factory)
Set the value of the
factory field in the object linked to by this
JavaBeans component. |
void |
setRole(String role)
Set the value of the
role field in the object linked to by this
JavaBeans component. |
void |
setToolkit(String toolkit)
Set the value of the
toolkit field in the object linked to by this
JavaBeans component. |
protected UIDescriptor assoc
public UIDescriptorBean()
UIDescriptor
object.@ConstructorProperties(value={"role","toolkit","attributes","factory"}) public UIDescriptorBean(String role, String toolkit, Set attributes, MarshalledObject factory)
public void makeLink(Entry e)
UIDescriptor
object.makeLink
in interface EntryBean
e
- the Entry
object, which must be a UIDescriptor
, to which to linkClassCastException
- the Entry
is not
a UIDescriptor
, the correct type for this JavaBeans componentpublic Entry followLink()
UIDescriptor
linked to by this JavaBeans component.followLink
in interface EntryBean
public String getRole()
role
field in the object linked to by
this JavaBeans component.String
representing the role valuesetRole(java.lang.String)
public void setRole(String role)
role
field in the object linked to by this
JavaBeans component.role
- a String
specifying the role valuegetRole()
public String getToolkit()
toolkit
field in the object linked to by
this JavaBeans component.String
representing the toolkit valuesetToolkit(java.lang.String)
public void setToolkit(String toolkit)
toolkit
field in the object linked to by this
JavaBeans component.toolkit
- a String
specifying the toolkit valuegetToolkit()
public Set getAttributes()
attributes
field in the object linked to by
this JavaBeans component.Set
representing the attributes valuesetAttributes(java.util.Set)
public void setAttributes(Set attributes)
attributes
field in the object linked to by this
JavaBeans component.attributes
- a Set
specifying the attributes valuegetAttributes()
public MarshalledObject getFactory()
factory
field in the object linked to by
this JavaBeans component.MarshalledObject
representing the factory valuesetFactory(java.rmi.MarshalledObject)
public void setFactory(MarshalledObject factory)
factory
field in the object linked to by this
JavaBeans component.factory
- a MarshalledObject
specifying the factory valuegetFactory()
Copyright © 2016–2018. All rights reserved.