public class FwkDescription extends Fwk implements java.lang.Cloneable, FwkDescriptionInterface
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
author
The author name.
|
protected java.lang.String |
buildnr
The build number.
|
protected java.lang.String |
className
The class name of the FWK object.
|
protected java.lang.String |
company
The company name.
|
protected java.lang.String |
copyright
The copyright string.
|
protected java.util.Date |
creationDate
The creation date.
|
protected java.lang.String |
dateFormatString
The date format string.
|
protected java.lang.String |
description
The description of the application.
|
protected java.lang.String |
eMail
The support email.
|
static FwkIconInterface |
FWK_ICON |
static byte[] |
FWK_ICON_ARRAY
The default icon array.
|
static FwkIconInterface |
FWK_ICON_BG |
static byte[] |
FWK_ICON_BG_ARRAY |
static FwkIconInterface |
FWK_ICON_BG_LARGE |
static byte[] |
FWK_ICON_BG_LARGE_ARRAY |
static FwkIconInterface |
FWK_ICON_LARGE |
static byte[] |
FWK_ICON_LARGE_ARRAY |
protected FwkIconInterface[] |
icon |
static FwkIconInterface[] |
ICON |
protected int |
iconCount
The icon array.
|
protected java.lang.String[] |
iconKey
The icon keyword.
|
protected java.lang.String |
internetAddress
The internet address of the company.
|
protected java.lang.String |
name |
protected java.lang.String |
titleName |
static java.lang.String |
version |
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Constructor and Description |
|---|
FwkDescription()
The default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Get the author name.
|
java.lang.String |
getBuild()
Get the build number.
|
java.lang.String |
getClassName()
Get the class name of the FWK object.
|
java.lang.String |
getCompany()
Get the company name.
|
java.lang.String |
getCompanyInternetAddress()
Get the internet address of the company.
|
java.lang.String |
getCopyright()
Get the copyright.
|
java.lang.String |
getCreationDate()
Get the creation date.
|
java.lang.String |
getCreationDate(java.lang.String formatString)
Get the creation date.
|
java.lang.String |
getDateFormatString()
Get the date format string.
|
java.lang.String |
getDescription()
Get the description.
|
FwkIconInterface |
getIcon()
Get the icon image.
|
FwkIconInterface |
getIcon(int type)
Get the image icon of the application
|
java.lang.String |
getIconKey()
Get the property keyword of the icon.
|
java.lang.String |
getIconKey(int type)
Get the property keyword of the icon.
|
java.lang.String |
getName()
Return the name of the ASAM-FWK object.
|
java.lang.String |
getPresentationString()
Retrieves the representation string.
|
java.lang.String |
getPresentationString(java.util.Locale locale)
Retrieves the representation string.
|
java.lang.String |
getSupportEMail()
Get the support e-mail.
|
java.lang.String |
getTitle()
Get the title.
|
java.lang.String |
getTitleName()
Get the title name.
|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor)
Returns an object which represents the data to be transferred.
|
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Returns whether or not the specified data flavor is supported for this object.
|
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Notifies this object that it is no longer the owner of the contents of the clipboard.
|
void |
setAuthor(java.lang.String author)
Set the author name.
|
void |
setBuild(java.lang.String buildnr)
Set the build number.
|
void |
setClassName(java.lang.String className)
Set the class name of the FWK object.
|
void |
setCompany(java.lang.String company)
Set the company name.
|
void |
setCompanyInternetAddress(java.lang.String address)
Set the internet address of the company.
|
void |
setCopyright(java.lang.String copyright)
Set the copyright.
|
void |
setCreationDate(java.lang.String dateString)
Set the Date of the application.
|
void |
setCreationDate(java.lang.String dateString,
java.lang.String formatString)
Set the Date of the application.
|
void |
setDateFormatString(java.lang.String formatString)
Set the Date format string.
|
void |
setDescription(java.lang.String description)
Set the description of the application.
|
void |
setDescriptor(FwkDescriptionInterface descriptor)
Initialize the object with values of the given FwkDescription.
|
void |
setIcon(FwkIconInterface icon)
Set the icon image.
|
void |
setIcon(FwkIconInterface icon,
int type)
Set the image icon of the application
|
void |
setIconKey(java.lang.String key)
Set the property keyword of the icon.
|
void |
setIconKey(java.lang.String key,
int type)
Set the property keyword of the icon.
|
void |
setName(java.lang.String name)
Set the name of the ASAM-FWK object.
|
void |
setSupportEMail(java.lang.String eMail)
Get the support e-mail.
|
void |
setTitleName(java.lang.String titleName)
Set the title of the application.
|
java.lang.String |
toString()
Get a string representation of the object.
|
getNiceVersion, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreleasepublic static final byte[] FWK_ICON_ARRAY
public static final byte[] FWK_ICON_BG_ARRAY
public static final byte[] FWK_ICON_LARGE_ARRAY
public static final byte[] FWK_ICON_BG_LARGE_ARRAY
public static final FwkIconInterface FWK_ICON
public static final FwkIconInterface FWK_ICON_BG
public static final FwkIconInterface FWK_ICON_LARGE
public static final FwkIconInterface FWK_ICON_BG_LARGE
public static final FwkIconInterface[] ICON
public static final java.lang.String version
protected java.lang.String author
protected java.lang.String buildnr
protected java.lang.String className
protected java.lang.String company
protected java.lang.String copyright
protected java.util.Date creationDate
protected java.lang.String dateFormatString
protected java.lang.String description
protected java.lang.String eMail
protected final int iconCount
protected FwkIconInterface[] icon
protected java.lang.String[] iconKey
protected java.lang.String internetAddress
protected java.lang.String titleName
protected java.lang.String name
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class Fwkpublic java.lang.String getAuthor()
getAuthor in interface FwkDescriptionInterfacesetAuthor(String)public java.lang.String getBuild()
getBuild in interface FwkDescriptionInterface#setBuild(int)public java.lang.String getClassName()
getClassName in interface FwkDescriptionInterfacesetClassName(String)public java.lang.String getCompany()
getCompany in interface FwkDescriptionInterfacesetCompany(String)public java.lang.String getCompanyInternetAddress()
getCompanyInternetAddress in interface FwkDescriptionInterfacepublic java.lang.String getCopyright()
getCopyright in interface FwkDescriptionInterfacesetCopyright(String)public java.lang.String getCreationDate()
getCreationDate in interface FwkDescriptionInterface#setCreationDate(Date)public java.lang.String getCreationDate(java.lang.String formatString)
getCreationDate in interface FwkDescriptionInterfaceformatString - The date format string#java.text.SimpleDateFormat,
#setCreationDate(Date)public java.lang.String getDateFormatString()
getDateFormatString in interface FwkDescriptionInterfacepublic java.lang.String getDescription()
getDescription in interface FwkDescriptionInterfacesetDescription(String)public FwkIconInterface getIcon()
getIcon in interface FwkDescriptionInterfacesetIcon(FwkIconInterface)public FwkIconInterface getIcon(int type)
getIcon in interface FwkDescriptionInterfacetype - The type of the icon, use the predefined values (see above).#setIcon(Icon)public java.lang.String getIconKey()
getIconKey in interface FwkDescriptionInterfacepublic java.lang.String getIconKey(int type)
getIconKey in interface FwkDescriptionInterfacetype - The type of the icon, use the predefined values (see above).public java.lang.String getName()
getName in interface FwkDescriptionInterfacepublic java.lang.String getPresentationString(java.util.Locale locale)
getPresentationString in interface FwkDescriptionInterfacelocale - The Locale object or null.public java.lang.String getPresentationString()
getPresentationString in interface FwkDescriptionInterfacepublic java.lang.String getSupportEMail()
getSupportEMail in interface FwkDescriptionInterfacepublic java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacepublic java.lang.String getTitleName()
getTitleName in interface FwkDescriptionInterfacesetName(String)public void setAuthor(java.lang.String author)
setAuthor in interface FwkDescriptionInterfaceauthor - The name of the author.getAuthor()public void setBuild(java.lang.String buildnr)
setBuild in interface FwkDescriptionInterfacebuildnr - The string representing the build number.getBuild()public void setClassName(java.lang.String className)
setClassName in interface FwkDescriptionInterfaceclassName - The class name.getClassName()public void setCompany(java.lang.String company)
setCompany in interface FwkDescriptionInterfacecompany - The name of the company.getCompany()public void setCompanyInternetAddress(java.lang.String address)
setCompanyInternetAddress in interface FwkDescriptionInterfacepublic void setCopyright(java.lang.String copyright)
setCopyright in interface FwkDescriptionInterfaceThe - copyright string.getCopyright()public void setCreationDate(java.lang.String dateString,
java.lang.String formatString)
setCreationDate in interface FwkDescriptionInterfacedateString - The Date of the application.formatString - The format string.#java.text.SimpleDateFormat,
getCreationDate()public void setCreationDate(java.lang.String dateString)
setCreationDate in interface FwkDescriptionInterfacedateString - The Date of the application.#java.text.SimpleDateFormat,
getCreationDate()public void setDateFormatString(java.lang.String formatString)
setDateFormatString in interface FwkDescriptionInterfaceformatString - The format string.#java.text.SimpleDateFormat,
getCreationDate()public void setDescription(java.lang.String description)
setDescription in interface FwkDescriptionInterfacedescription - The description of the application.getDescription()public void setDescriptor(FwkDescriptionInterface descriptor) throws FwkException
setDescriptor in interface FwkDescriptionInterfacedescriptor - The FwkDescription from that the value should be copied.FwkExceptionpublic void setIcon(FwkIconInterface icon)
setIcon in interface FwkDescriptionInterfaceThe - icon of the application.getIcon()public void setIcon(FwkIconInterface icon, int type)
setIcon in interface FwkDescriptionInterfaceicon - The icon to be set.type - The type of the icon, use predefined values defined above.
If this value is out of range, no icon will be set.getIcon()public void setIconKey(java.lang.String key)
setIconKey in interface FwkDescriptionInterfacekey - The keyword for the icon.public void setIconKey(java.lang.String key,
int type)
setIconKey in interface FwkDescriptionInterfacekey - The keyword for the icon.type - The type of the icon, use predefined values defined above.public void setName(java.lang.String name)
setName in interface FwkDescriptionInterfacename - The name of the object.getName()public void setSupportEMail(java.lang.String eMail)
setSupportEMail in interface FwkDescriptionInterfaceeMail - A string containing the support e-mail.public void setTitleName(java.lang.String titleName)
setTitleName in interface FwkDescriptionInterfacename - The name of the title.getName()public java.lang.String toString()
toString in class java.lang.Objectpublic java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface java.awt.datatransfer.Transferablepublic boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported in interface java.awt.datatransfer.Transferableflavor - - the requested flavor for the datapublic java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
getTransferData in interface java.awt.datatransfer.Transferableflavor - - the requested flavor for the datajava.io.IOException - - if the data is no longer available in the requested flavor.
UnsupportedFlavorException - if the requested data flavor is not supported.java.awt.datatransfer.UnsupportedFlavorExceptionjava.awt.datatransfer.DataFlavor.getRepresentationClass()public void lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
lostOwnership in interface java.awt.datatransfer.ClipboardOwnerclipboard - - the clipboard that is no longer ownedcontents - - the contents which this owner had placed on the clipboard