public abstract class IlvPaletteBaseObject extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
protected IlvPaletteBaseObject |
copy(IlvPaletteBaseObject owner)
Makes a copy of this object.
|
protected abstract IlvPaletteBaseObject |
createNew()
Allocates a new object of the same type.
|
IlvPaletteBaseObject |
getBaseObjectOwner()
Returns the owner of this object as palette base object.
|
Locale |
getDefaultLocale()
Returns the locale used to store name, short description and long
description.
|
String |
getFullID()
Returns the full unique ID of this object.
|
String |
getID()
Returns the identifier of this object.
|
String |
getLongDescription()
Returns the long description of the object for the default locale.
|
String |
getLongDescription(Locale locale)
Returns the long description of the object for a given locale.
|
String |
getName()
Returns the name of the object for the default locale.
|
String |
getName(Locale locale)
Returns the name of the object for a given locale.
|
Object |
getOwner()
Returns the owner of this object.
|
String |
getShortDescription()
Returns the short description of the object for the default locale.
|
String |
getShortDescription(Locale locale)
Returns the short description of the object for a given locale.
|
void |
setDefaultLocale(Locale locale)
Sets the locale used to store name, short description and long
description.
|
void |
setID(String id)
Sets the identifier of this object.
|
void |
setLongDescription(Locale locale,
String description)
Sets the long description of the object for a given locale.
|
void |
setLongDescription(String description)
Sets the long description of the object for the default locale.
|
void |
setName(Locale locale,
String name)
Sets the name of the object for a given locale.
|
void |
setName(String name)
Sets the name of the object for the default locale.
|
protected void |
setOwner(Object owner)
Returns the owner of this object.
|
void |
setShortDescription(Locale locale,
String description)
Sets the short description of the object for a given locale.
|
void |
setShortDescription(String description)
Sets the short description of the object for the default locale.
|
protected IlvPaletteBaseObject copy(IlvPaletteBaseObject owner)
owner
- The desired owner of the copy.protected abstract IlvPaletteBaseObject createNew()
public Object getOwner()
protected void setOwner(Object owner)
public IlvPaletteBaseObject getBaseObjectOwner()
public String getID()
public void setID(String id)
id
- the new identifier.public String getFullID()
public void setName(Locale locale, String name)
locale
- the locale used to store the descriptionname
- the name.public String getName(Locale locale)
locale
- the localepublic void setName(String name)
setDefaultLocale(java.util.Locale)
to change the locale under which
the name is stored.name
- the namegetDefaultLocale()
public String getName()
setDefaultLocale(java.util.Locale)
to change the locale under which
the name is looked up.getDefaultLocale()
public void setLongDescription(Locale locale, String description)
locale
- the locale used to store the descriptiondescription
- the new descriptionpublic String getLongDescription(Locale locale)
locale
- the localepublic void setLongDescription(String description)
setDefaultLocale(java.util.Locale)
to change the locale under which
the description is stored.description
- the new descriptiongetDefaultLocale()
public String getLongDescription()
setDefaultLocale(java.util.Locale)
to change the locale under which
the description is looked up.getDefaultLocale()
public void setShortDescription(Locale locale, String description)
locale
- the locale used to store the descriptiondescription
- the new descriptionpublic String getShortDescription(Locale locale)
locale
- the localepublic void setShortDescription(String description)
setDefaultLocale(java.util.Locale)
to change the locale under which
the description is stored.description
- the new descriptiongetDefaultLocale()
public String getShortDescription()
setDefaultLocale(java.util.Locale)
to change the locale under which
the description is looked up.getDefaultLocale()
public void setDefaultLocale(Locale locale)
null
for the locale of the default
resource bundle.public Locale getDefaultLocale()
null
for the locale of the default
resource bundle.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.