public class FwkApplet extends javax.swing.JApplet implements FwkWindowInterface
,
Serialized Formjavax.swing.JApplet.AccessibleJAppletjava.applet.Applet.AccessibleApplet| Modifier and Type | Field and Description |
|---|---|
protected FwkApplicationInterface |
application |
protected java.lang.String |
applicationClassName |
protected java.lang.String[] |
args |
protected static FwkDescriptionInterface |
descriptor |
static java.lang.String |
version |
accessibleContext, rootPane, rootPaneCheckingEnabledBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTAUTHOR, 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 |
|---|
FwkApplet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
destroyController()
Destroy the controller.
|
java.lang.String |
getApplicationClassName()
Retrieves the class name of the application.
|
java.lang.String |
getApplicationName()
Retrieves the name of the application.
|
java.lang.String[] |
getArguments()
Get the arguments of the applet.
|
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.
|
static FwkDescriptionInterface |
getDescriptor() |
FwkIconInterface |
getIcon()
Get the icon of the application.
|
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()
Get the name.
|
java.lang.String |
getPresentationString()
Get the presentation string.
|
java.lang.String |
getPresentationString(java.util.Locale l)
Get the presentation 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.
|
void |
init()
Initialize the applet.
|
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 |
release()
Release the object.
|
void |
setApplicationClassName(java.lang.String className)
Set the class name of the application.
|
void |
setArguments(java.lang.String[] args)
Set the applet arguments.
|
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(FwkCompareInterface descriptor)
Initialize the object with values of the given descriptor.
|
void |
setDescriptor(FwkDescriptionInterface descriptor)
Initialize the object with values of the given FwkDescription.
|
void |
setHeight(int height)
Set the height of the applet.
|
void |
setIcon(FwkIconInterface icon)
Get the icon of the application.
|
void |
setIcon(FwkIconInterface icon,
int type)
Set the image icon of the application
This method fires a property change event on property "Icon".
|
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 application name.
|
void |
setSupportEMail(java.lang.String eMail)
Get the support e-mail.
|
void |
setTitleName(java.lang.String name)
Set the application title name.
|
void |
setWidth(int width)
Set the width of the applet.
|
void |
setX(int x)
Set the X position of the applet (upper left corner).
|
void |
setY(int y)
Set the Y position of the applet (upper left corner).
|
void |
start()
Start the FWK applet application.
|
void |
stop()
Called by the browser or applet viewer to inform the
hosted application that it should stop its execution.
|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updatedestroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatusadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCodeBase, getHeight, getWidth, getX, getY, setVisiblepublic static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected java.lang.String[] args
protected java.lang.String applicationClassName
protected FwkApplicationInterface application
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacepublic static FwkDescriptionInterface getDescriptor()
public void release()
release in interface FwkInterfacepublic boolean destroyController()
destroyController in interface FwkControllerInterfacepublic java.lang.String[] getArguments()
getArguments in interface FwkWindowInterfacepublic java.lang.String getApplicationClassName()
getApplicationClassName in interface FwkWindowInterfacepublic java.lang.String getApplicationName()
getApplicationName in interface FwkWindowInterfacepublic void init()
init in interface FwkWindowInterfaceinit in class java.applet.Appletpublic void setApplicationClassName(java.lang.String className)
setApplicationClassName in interface FwkWindowInterfaceclassName - The name of the application class.public void setArguments(java.lang.String[] args)
setArguments in interface FwkWindowInterfaceargs - The argument array.public void setHeight(int height)
setHeight in interface FwkWindowInterfaceheight - The height of the applet.public void setWidth(int width)
setWidth in interface FwkWindowInterfacewidth - The width of the applet.public void setX(int x)
setX in interface FwkWindowInterfacex - The X position of the upper left corner of the applet.public void setY(int y)
setY in interface FwkWindowInterfacey - The Y position of the upper left corner of the applet.public void start()
start in interface FwkWindowInterfacestart in class java.applet.Appletpublic void stop()
stop in interface FwkWindowInterfacestop in class java.applet.Appletpublic java.lang.String getAuthor()
getAuthor in interface FwkDescriptionInterfacesetAuthor(String)public java.lang.String getBuild()
getBuild in interface FwkDescriptionInterface#setBuild(int)public java.lang.String getCompany()
getCompany in interface FwkDescriptionInterfacesetCompany(String)public void setClassName(java.lang.String className)
setClassName in interface FwkDescriptionInterfaceclassName - The class name.getClassName()public java.lang.String getClassName()
getClassName in interface FwkDescriptionInterfaceclassName - The class name.setClassName(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 FwkDescriptionInterfacegetName in class java.awt.ComponentsetName(String)public java.lang.String getSupportEMail()
getSupportEMail in interface FwkDescriptionInterfacepublic java.lang.String getTitleName()
getTitleName in interface FwkDescriptionInterfacesetTitleName(String)public java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacepublic 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 FwkDescriptionInterfaceThe - number of build.getBuild()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 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 setDescriptor(FwkDescriptionInterface descriptor)
setDescriptor in interface FwkDescriptionInterfacedesciptor - The FwkDescription from that the value should be copied.public void setCopyright(java.lang.String copyright)
setCopyright in interface FwkDescriptionInterfaceThe - copyright string.getCopyright()public void setDescription(java.lang.String description)
setDescription in interface FwkDescriptionInterfacedescription - The description of the application.getDescription()public void setDescriptor(FwkCompareInterface descriptor)
desciptor - The FwkCompare from that the value should be copied.public void setIcon(FwkIconInterface icon)
setIcon in interface FwkDescriptionInterface#getIcon(FwkIconInterface)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.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 FwkDescriptionInterfacesetName in class java.awt.Componentname - The name of the application.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 name)
setTitleName in interface FwkDescriptionInterfacename - The title name of the application.getTitleName()public java.lang.String getPresentationString(java.util.Locale l)
getPresentationString in interface FwkDescriptionInterfacel - The localepublic java.lang.String getPresentationString()
getPresentationString in interface FwkDescriptionInterfacel - The localepublic 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