public class FwkPanel extends javax.swing.JPanel implements FwkPanelInterface
,
Serialized Formjavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Image |
bgImage |
protected FwkControllerInterface |
controller
The controller instance of the panel.
|
protected static FwkDescriptionInterface |
descriptor |
protected FwkItem |
fwkItem
The item support.
|
protected int |
imgHeight |
protected int |
imgWidth |
protected FwkAppearanceInterface |
lineAppearance |
protected int |
newHeight |
protected int |
newWidth |
protected java.awt.print.PageFormat |
pageFormat |
protected boolean |
readingDOM
The DOM reading flag.
|
protected java.lang.String |
text |
protected FwkAppearanceInterface |
textAppearance |
static java.lang.String |
version |
protected int |
xalign |
protected int |
yalign |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBOTTOM, CENTER, LEFT, RIGHT, TOPINFOBUS_SOURCEAUTHOR, 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 |
|---|
FwkPanel() |
FwkPanel(FwkApplicationInterface controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(FwkCommandInterface command)
Add the command to the command array.
|
void |
addCommand(int index,
FwkCommandInterface command)
Insert a command at the specified position.
|
void |
addPropertyChangeListener(FwkPropertyChangeListenerInterface listener)
Add a PropertyChangeListener to the listener list.
|
void |
addPropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
Add a PropertyChangeListener for a specific property.
|
void |
addToGroup(int index,
java.lang.String groupIdent,
java.lang.String commandName)
Add a command to a group.
|
void |
addToGroup(java.lang.String groupIdent,
java.lang.String commandName)
Add a command to a group.
|
void |
addVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
Add a VetoableChangeListener to the listener list.
|
void |
addVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
Add a VetoableChangeListener for a specific property.
|
void |
clearCommands()
Clear all commands.
|
boolean |
commandsAvailable()
This method returns a boolean that indicates whether
the command array is initialized.
|
int |
compareTo(java.lang.Object o)
Compare the object to another.
|
void |
deleteGroup(java.lang.String groupIdent)
Delete command group.
|
boolean |
destroyController()
Destroy the panel.
|
void |
fireItemAdded()
This method is used when the item is added to infobus producer.
|
void |
fireItemDeleted()
This method is used when the item is delete from the source of the object.
|
void |
fireItemRevoked()
This method is used when the item is revoked from the infobus producer.
|
void |
fireItemValueChanged()
This method is used when the item is revoked from the infobus producer.
|
void |
firePropertyChange(java.beans.PropertyChangeEvent evt)
Fire an existing PropertyChangeEvent to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
Report a boolean bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
char oldValue,
char newValue)
Report an char bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
double oldValue,
double newValue)
Report an double bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
float oldValue,
float newValue)
Report an float bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
Report an int bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
long oldValue,
long newValue)
Report an long bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Report a bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
Report a boolean bound vetoable update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
char oldValue,
char newValue)
Report an char bound vetoable update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
double oldValue,
double newValue)
Report an double bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
float oldValue,
float newValue)
Report an float bound vetoable update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
int oldValue,
int newValue)
Report an int bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
long oldValue,
long newValue)
Report an long bound vetoable update to any registered listeners.
|
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.
|
FwkCommandInterface |
getCommand(java.lang.String command)
Get a sub-command.
|
FwkCommandInterface[] |
getCommands()
Get the sub-commands of the command.
|
FwkCommandInterface[] |
getCommands(FwkControllerInterface controller)
Retrieve the command array of the component.
|
java.lang.String |
getCompany()
Get the company name.
|
java.lang.String |
getCompanyInternetAddress()
Get the internet address of the company.
|
FwkControllerInterface |
getController()
Get the controller instance of the panel.
|
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() |
FwkCommandInterface[] |
getGroup(java.lang.String groupIdent)
Retrieve the command group.
|
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.
|
FwkDescriptionInterface |
getInstanceDescriptor()
Get the descriptor instance of the panel.
|
java.lang.String |
getName()
Get the name.
|
int |
getNumberOfPages()
Get the total number of pages printed by this application.
|
java.awt.print.PageFormat |
getPageFormat(int pi)
Returns the PageFormat of the page specified by pageIndex.
|
void |
getPersistentObjectNames(FwkPersistenceInfoInterface persistentObjects)
Get the names of the persistent objects from a component.
|
java.lang.String |
getPresentationString()
Get the presentation string.
|
java.lang.String |
getPresentationString(java.util.Locale l)
Get the presentation string.
|
java.awt.print.Printable |
getPrintable(int pi)
Returns the Printable instance responsible for
rendering the page specified by pageIndex.
|
java.lang.String |
getPrintJobName()
Get the name of the printjob.
|
java.lang.Object |
getProperty(java.lang.String key)
Get the property for the specified property keyword.
|
FwkArrayInterface |
getPropertyChangeArray()
Get a array containing the property names for that listeners are registered.
|
FwkArrayInterface |
getPropertyChangeListenerArray()
Get a array containing the registered property change listeners.
|
FwkArrayInterface |
getPropertyChangeListenerArray(java.lang.String propertyName)
Get a array containing the registered property change listeners for the
specific property.
|
FwkPropertyGroupInterface |
getPropertyGroup(java.lang.String groupName)
Get a property group from item.
|
javax.infobus.InfoBusEventListener |
getSource()
Returns the source of the DataItem.
|
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.
|
FwkArrayInterface |
getVetoableChangeArray()
Get a vector containing the property names for that listeners are registered.
|
FwkArrayInterface |
getVetoableChangeListenerArray()
Get a vector containing the registered vetoable change listeners.
|
FwkArrayInterface |
getVetoableChangeListenerArray(java.lang.String propertyName)
Get a vector containing the registered vetoable change listeners for the
specific vetoable.
|
boolean |
groupExists(java.lang.String groupIdent)
Check whether a group exists.
|
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Returns whether or not the specified data flavor is supported for this object.
|
boolean |
isPropertyChangeEventSuspended()
Inquire the suspend status.
|
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 |
paintComponent(java.awt.Graphics g)
Overrides JPanel.paintComponent to allow for
background image.
|
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
Prints the page at the specified index into the specified Graphics
context in the specified format.
|
void |
printPanel(java.awt.Graphics g)
Print the panel content.
|
java.lang.Object |
readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
Read a construtor dom node.
|
void |
readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
Read from DOM
|
boolean |
readingDOM()
Get the DOM reading flag.
|
void |
readingDOM(boolean flag)
Set a flag that the object is currently reading the DOM.
|
void |
refresh()
Refresh the panel.
|
void |
release()
Release the data item.
|
void |
removeCommand(FwkCommandInterface command)
Remove a sub-command.
|
void |
removeFromGroup(java.lang.String groupIdent,
java.lang.String commandName)
Remove a command from a group.
|
void |
removePropertyChangeListener(FwkPropertyChangeListenerInterface listener)
Remove a PropertyChangeListener from the listener list.
|
void |
removePropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
Remove a PropertyChangeListener for a specific property.
|
void |
removeVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
Remove a VetoableChangeListener from the listener list.
|
void |
removeVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
Remove a VetoableChangeListener for a specific property.
|
void |
setAuthor(java.lang.String author)
Set the author name.
|
void |
setBackgroundImage(java.awt.Image bgImage)
Set the background image of the application panel.
|
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 |
setCommands(FwkCommandInterface[] commands)
Set the sub-commands of the command.
|
void |
setCompany(java.lang.String company)
Set the company name.
|
void |
setCompanyInternetAddress(java.lang.String address)
Set the internet address of the company.
|
void |
setController(FwkControllerInterface controller)
Set the controller instance of the panel.
|
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 |
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 |
setLineAppearance(FwkAppearanceInterface lineAppearance)
Set the appearance of the panel outline.
|
void |
setName(java.lang.String name)
Set the application name.
|
void |
setPageFormat(java.awt.print.PageFormat pf,
int pi)
Set the pageformat of the printable object.
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Set a property for the specified property keyword.
|
void |
setPropertyGroup(FwkPropertyGroupInterface group)
Set the property group.
|
void |
setSource(FwkInterface source)
Set the bean source object of the veto change support.
|
void |
setSupportEMail(java.lang.String eMail)
Get the support e-mail.
|
void |
setText(java.lang.String text)
Set an identification notice of the FWK panel.
|
void |
setTextAlignment(int xalign,
int yalign)
Set the alignment of the identification text.
|
void |
setTextAppearance(FwkAppearanceInterface textAppearance)
Set the appearance of the identification text.
|
void |
setTitleName(java.lang.String name)
Set the application title name.
|
void |
suspendChangeManager(boolean flag)
Suspend the change manager fire mechanismn.
|
void |
suspendPropertyChangeEvents(boolean flag)
Suspend the property change events.
|
org.w3c.dom.Element |
writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write a construtor dom node.
|
org.w3c.dom.Element |
writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write the container as child to the given DOM node.
|
boolean |
writeToXML(java.lang.String filename,
boolean validate)
Writes the canvas to an XML file.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddpublic static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected java.awt.print.PageFormat pageFormat
protected java.lang.String text
protected int xalign
protected int yalign
protected FwkAppearanceInterface textAppearance
protected FwkAppearanceInterface lineAppearance
protected java.awt.Image bgImage
protected int newHeight
protected int newWidth
protected int imgHeight
protected int imgWidth
protected FwkControllerInterface controller
protected boolean readingDOM
protected FwkItem fwkItem
public FwkPanel()
public FwkPanel(FwkApplicationInterface controller)
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacepublic static FwkDescriptionInterface getDescriptor()
public boolean destroyController()
destroyController in interface FwkControllerInterfacepublic FwkControllerInterface getController()
getController in interface FwkControlledByInterfacepublic FwkDescriptionInterface getInstanceDescriptor()
public void paintComponent(java.awt.Graphics g)
paintComponent in class javax.swing.JComponentg - The graphics context.public void setBackgroundImage(java.awt.Image bgImage)
bgImage - The background image.public void setController(FwkControllerInterface controller)
setController in interface FwkControlledByInterfacecontroller - The controller instance of the panel.public void setLineAppearance(FwkAppearanceInterface lineAppearance)
appearance - The appearance of the panel outline.public void setText(java.lang.String text)
text - The text to be shown.public void setTextAlignment(int xalign,
int yalign)
xalign - The x-alignment of the text.
Allowed values are LEFT, CENTER and RIGHT.yalign - The y-alignment of the text.
Allowed values are TOP, CENTER and BOTTOM.public void refresh()
refresh in interface FwkPanelInterfacepublic void setTextAppearance(FwkAppearanceInterface textAppearance)
appearance - The appearance of the text.public 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 FwkDescriptionInterfacegetCompany in interface FwkDOMHandlerInterfacesetCompany(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 FwkDescriptionInterfacegetTitleName in interface FwkPanelInterfacesetTitleName(String)public java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacegetTitle in interface FwkPanelInterfacepublic 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 FwkDescriptionInterfacesetTitleName in interface FwkPanelInterfacename - The title name of the application.getTitleName()public java.lang.String getPresentationString(java.util.Locale l)
getPresentationString in interface FwkDescriptionInterfacegetPresentationString in interface FwkPresentationInterfacel - The localepublic java.lang.String getPresentationString()
getPresentationString in interface FwkDescriptionInterfacegetPresentationString in interface FwkPresentationInterfacel - 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 clipboardpublic void release()
release in interface FwkInterfacerelease in interface javax.infobus.DataItempublic javax.infobus.InfoBusEventListener getSource()
getSource in interface javax.infobus.DataItempublic void addCommand(FwkCommandInterface command)
addCommand in interface FwkInstructionInterfacecommand - The command to be added.public void addCommand(int index,
FwkCommandInterface command)
addCommand in interface FwkInstructionInterfaceindex - The position where the command has to be inserted.command - The command to be added.public FwkCommandInterface getCommand(java.lang.String command)
getCommand in interface FwkInstructionInterfacecommand - The action command string.public FwkCommandInterface[] getCommands()
getCommands in interface FwkInstructionInterfacepublic FwkCommandInterface[] getCommands(FwkControllerInterface controller)
getCommands in interface FwkPersistenceInterfacecontroller - The Command controller.public void removeCommand(FwkCommandInterface command)
removeCommand in interface FwkInstructionInterfacecommand - The sub-command to be removed.public void setCommands(FwkCommandInterface[] commands)
setCommands in interface FwkInstructionInterfacecommands - An array containing all sub-Commands.addCommand(FwkCommand command)public java.lang.Object getProperty(java.lang.String key)
getProperty in interface FwkItemInterfacegetProperty in interface javax.infobus.DataItemkey - The property keyword.public void setProperty(java.lang.String key,
java.lang.Object value)
setProperty in interface FwkItemInterfacekey - The property keyword.object - The property value.public FwkPropertyGroupInterface getPropertyGroup(java.lang.String groupName)
getPropertyGroup in interface FwkItemInterfacegroupName - The name of the requested group.public void setPropertyGroup(FwkPropertyGroupInterface group)
setPropertyGroup in interface FwkItemInterfacegroup - the property group.public boolean commandsAvailable()
commandsAvailable in interface FwkInstructionInterfacepublic void clearCommands()
clearCommands in interface FwkInstructionInterfacepublic void addToGroup(int index,
java.lang.String groupIdent,
java.lang.String commandName)
addToGroup in interface FwkInstructionInterfaceindex - Index where the command should be placed.groupIdent - The string identified of the group.commandName - The name of the command.public void addToGroup(java.lang.String groupIdent,
java.lang.String commandName)
addToGroup in interface FwkInstructionInterfacegroupIdent - The string identified of the group.commandName - The name of the command.public void deleteGroup(java.lang.String groupIdent)
deleteGroup in interface FwkInstructionInterfacegroupIdent - The string identified of the group.public FwkCommandInterface[] getGroup(java.lang.String groupIdent)
getGroup in interface FwkInstructionInterfacegroupIdent - The string identified of the group.public boolean groupExists(java.lang.String groupIdent)
groupExists in interface FwkInstructionInterfacepublic void removeFromGroup(java.lang.String groupIdent,
java.lang.String commandName)
removeFromGroup in interface FwkInstructionInterfacegroupIdent - The string identified of the group.commandName - The name of the command.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic void setSource(FwkInterface source)
setSource in interface FwkPropertyChangeInterfacesource - The component to be given as the source for any events.public FwkArrayInterface getVetoableChangeListenerArray()
getVetoableChangeListenerArray in interface FwkVetoableChangeInterfacepublic FwkArrayInterface getVetoableChangeListenerArray(java.lang.String propertyName)
getVetoableChangeListenerArray in interface FwkVetoableChangeInterfacepublic FwkArrayInterface getVetoableChangeArray()
getVetoableChangeArray in interface FwkVetoableChangeInterfacepublic void addVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener in interface FwkVetoableChangeInterfacelistener - The property change listener.VetoableChangeSupportpublic void addVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener in interface FwkVetoableChangeInterfacepropertyName - The property name.listener - The vetoable change listener.VetoableChangeSupportprotected void fireVetoableChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
vetoableName - The vetoable name.oldValue - The old value of the vetoable.newValue - The new value of the vetoable.VetoableChangeSupportprotected void fireVetoableChange(java.lang.String propertyName,
char oldValue,
char newValue)
propertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.protected void fireVetoableChange(java.lang.String propertyName,
int oldValue,
int newValue)
propertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.VetoableChangeSupportprotected void fireVetoableChange(java.lang.String propertyName,
long oldValue,
long newValue)
propertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.protected void fireVetoableChange(java.lang.String propertyName,
float oldValue,
float newValue)
propertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.protected void fireVetoableChange(java.lang.String propertyName,
double oldValue,
double newValue)
propertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.public void removeVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
removeVetoableChangeListener in interface FwkVetoableChangeInterfacelistener - The property change listener.VetoableChangeSupportpublic void removeVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
removeVetoableChangeListener in interface FwkVetoableChangeInterfacepropertyName - The property name.listener - The property change listener.VetoableChangeSupportpublic void suspendPropertyChangeEvents(boolean flag)
suspendPropertyChangeEvents in interface FwkPropertyChangeInterfaceflag - If true the property change events will be suspended.public boolean isPropertyChangeEventSuspended()
isPropertyChangeEventSuspended in interface FwkPropertyChangeInterfacepublic FwkArrayInterface getPropertyChangeListenerArray()
getPropertyChangeListenerArray in interface FwkPropertyChangeInterfacepublic FwkArrayInterface getPropertyChangeListenerArray(java.lang.String propertyName)
getPropertyChangeListenerArray in interface FwkPropertyChangeInterfacepropertyName - The name of the property whose listeners are requested.public FwkArrayInterface getPropertyChangeArray()
getPropertyChangeArray in interface FwkPropertyChangeInterfacepublic void addPropertyChangeListener(FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener in interface FwkPropertyChangeInterfacelistener - The property change listener.PropertyChangeSupportpublic void addPropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener in interface FwkPropertyChangeInterfacepropertyName - The property name.listener - The property change listener.PropertyChangeSupportpublic void firePropertyChange(java.beans.PropertyChangeEvent evt)
firePropertyChange in interface FwkPropertyChangeInterfaceevt - The property change event.PropertyChangeSupportpublic void firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class javax.swing.JComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.PropertyChangeSupportpublic void firePropertyChange(java.lang.String propertyName,
char oldValue,
char newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class javax.swing.JComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.public void firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class javax.swing.JComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.PropertyChangeSupportpublic void firePropertyChange(java.lang.String propertyName,
long oldValue,
long newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class java.awt.ComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.public void firePropertyChange(java.lang.String propertyName,
float oldValue,
float newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class java.awt.ComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.public void firePropertyChange(java.lang.String propertyName,
double oldValue,
double newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class java.awt.ComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.public void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
firePropertyChange in interface FwkPropertyChangeInterfacefirePropertyChange in class java.awt.ComponentpropertyName - The property name.oldValue - The old value of the property.newValue - The new value of the property.PropertyChangeSupportpublic void removePropertyChangeListener(FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener in interface FwkPropertyChangeInterfacelistener - The property change listener.PropertyChangeSupportpublic void removePropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener in interface FwkPropertyChangeInterfacepropertyName - The property name.listener - The property change listener.PropertyChangeSupportpublic void getPersistentObjectNames(FwkPersistenceInfoInterface persistentObjects)
getPersistentObjectNames in interface FwkPersistenceInterfacepersistentObjects - The names of persistent objects.public int getNumberOfPages()
getNumberOfPages in interface java.awt.print.PageableThe - total number of pages to be printed.Pageablepublic java.awt.print.PageFormat getPageFormat(int pi)
getPageFormat in interface java.awt.print.Pageablepi - The page index.Pageable,
PageFormatpublic void setPageFormat(java.awt.print.PageFormat pf,
int pi)
setPageFormat in interface FwkPrintableInterfacepf - The new pageformat.pi - The page index.public java.awt.print.Printable getPrintable(int pi)
getPrintable in interface java.awt.print.Pageablepi - The page index.Pageable,
PageFormatpublic java.lang.String getPrintJobName()
getPrintJobName in interface FwkPrintableInterfacepublic int print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
throws java.awt.print.PrinterException
print in interface java.awt.print.Printablegraphics - - the context into which the page is drawnpageFormat - - the size and orientation of the page being drawnpageIndex - - the zero based index of the page to be drawnjava.awt.print.PrinterExceptionpublic void printPanel(java.awt.Graphics g)
printPanel in interface FwkPanelInterfaceg - The graphical contents.public java.lang.Object readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
readConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public void readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
readFromDOM in interface FwkDOMHandlerInterfacepublic org.w3c.dom.Element writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public org.w3c.dom.Element writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeToDOM in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.node - The parent node.classProperties - Map the contains the writable object properties.
May be null.public boolean writeToXML(java.lang.String filename,
boolean validate)
writeToXML in interface FwkDOMHandlerInterfacefilename - The name of the xml file.validate - Write a validated cml file.public void readingDOM(boolean flag)
readingDOM in interface FwkDOMHandlerInterfaceflag - true if the object reads currently fom DOM.public boolean readingDOM()
readingDOM in interface FwkDOMHandlerInterfacepublic void suspendChangeManager(boolean flag)
Currently unused.
suspendChangeManager in interface FwkItemInterfaceflag - if true the manager doesn' t send messages.public void fireItemAdded()
Currently unused.
fireItemAdded in interface FwkItemInterfacepublic void fireItemDeleted()
Currently unused.
fireItemDeleted in interface FwkItemInterfacepublic void fireItemRevoked()
Currently unused.
fireItemRevoked in interface FwkItemInterfacepublic void fireItemValueChanged()
Currently unused.
fireItemValueChanged in interface FwkItemInterface