public class FwkPanel extends javax.swing.JPanel implements FwkPanelInterface
,
Serialized Formjavax.swing.JPanel.AccessibleJPanel
javax.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_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
BOTTOM, CENTER, LEFT, RIGHT, TOP
INFOBUS_SOURCE
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 |
---|
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, updateUI
addAncestorListener, 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, update
add, 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, validateTree
action, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add
public 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()
FwkInterface
getVersion
in interface FwkInterface
public static FwkDescriptionInterface getDescriptor()
public boolean destroyController()
destroyController
in interface FwkControllerInterface
public FwkControllerInterface getController()
getController
in interface FwkControlledByInterface
public FwkDescriptionInterface getInstanceDescriptor()
public void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
g
- The graphics context.public void setBackgroundImage(java.awt.Image bgImage)
bgImage
- The background image.public void setController(FwkControllerInterface controller)
setController
in interface FwkControlledByInterface
controller
- 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 FwkPanelInterface
public void setTextAppearance(FwkAppearanceInterface textAppearance)
appearance
- The appearance of the text.public java.lang.String getAuthor()
getAuthor
in interface FwkDescriptionInterface
setAuthor(String)
public java.lang.String getBuild()
getBuild
in interface FwkDescriptionInterface
#setBuild(int)
public java.lang.String getCompany()
getCompany
in interface FwkDescriptionInterface
getCompany
in interface FwkDOMHandlerInterface
setCompany(String)
public void setClassName(java.lang.String className)
setClassName
in interface FwkDescriptionInterface
className
- The class name.getClassName()
public java.lang.String getClassName()
getClassName
in interface FwkDescriptionInterface
className
- The class name.setClassName(String)
public java.lang.String getCompanyInternetAddress()
getCompanyInternetAddress
in interface FwkDescriptionInterface
public java.lang.String getCopyright()
getCopyright
in interface FwkDescriptionInterface
setCopyright(String)
public java.lang.String getCreationDate()
getCreationDate
in interface FwkDescriptionInterface
#setCreationDate(Date)
public java.lang.String getCreationDate(java.lang.String formatString)
getCreationDate
in interface FwkDescriptionInterface
formatString
- The date format string#java.text.SimpleDateFormat
,
#setCreationDate(Date)
public java.lang.String getDateFormatString()
getDateFormatString
in interface FwkDescriptionInterface
public java.lang.String getDescription()
getDescription
in interface FwkDescriptionInterface
setDescription(String)
public FwkIconInterface getIcon()
getIcon
in interface FwkDescriptionInterface
setIcon(FwkIconInterface)
public FwkIconInterface getIcon(int type)
getIcon
in interface FwkDescriptionInterface
type
- The type of the icon, use the predefined values (see above).#setIcon(Icon)
public java.lang.String getIconKey()
getIconKey
in interface FwkDescriptionInterface
public java.lang.String getIconKey(int type)
getIconKey
in interface FwkDescriptionInterface
type
- The type of the icon, use the predefined values (see above).public java.lang.String getName()
getName
in interface FwkDescriptionInterface
getName
in class java.awt.Component
setName(String)
public java.lang.String getSupportEMail()
getSupportEMail
in interface FwkDescriptionInterface
public java.lang.String getTitleName()
getTitleName
in interface FwkDescriptionInterface
getTitleName
in interface FwkPanelInterface
setTitleName(String)
public java.lang.String getTitle()
getTitle
in interface FwkDescriptionInterface
getTitle
in interface FwkPanelInterface
public void setAuthor(java.lang.String author)
setAuthor
in interface FwkDescriptionInterface
author
- The name of the author.getAuthor()
public void setBuild(java.lang.String buildnr)
setBuild
in interface FwkDescriptionInterface
The
- number of build.getBuild()
public void setCompany(java.lang.String company)
setCompany
in interface FwkDescriptionInterface
company
- The name of the company.getCompany()
public void setCompanyInternetAddress(java.lang.String address)
setCompanyInternetAddress
in interface FwkDescriptionInterface
public void setCreationDate(java.lang.String dateString, java.lang.String formatString)
setCreationDate
in interface FwkDescriptionInterface
dateString
- The Date of the application.formatString
- The format string.#java.text.SimpleDateFormat
,
getCreationDate()
public void setCreationDate(java.lang.String dateString)
setCreationDate
in interface FwkDescriptionInterface
dateString
- The Date of the application.#java.text.SimpleDateFormat
,
getCreationDate()
public void setDateFormatString(java.lang.String formatString)
setDateFormatString
in interface FwkDescriptionInterface
formatString
- The format string.#java.text.SimpleDateFormat
,
getCreationDate()
public void setDescriptor(FwkDescriptionInterface descriptor)
setDescriptor
in interface FwkDescriptionInterface
desciptor
- The FwkDescription from that the value should be copied.public void setCopyright(java.lang.String copyright)
setCopyright
in interface FwkDescriptionInterface
The
- copyright string.getCopyright()
public void setDescription(java.lang.String description)
setDescription
in interface FwkDescriptionInterface
description
- 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 FwkDescriptionInterface
icon
- 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 FwkDescriptionInterface
key
- The keyword for the icon.public void setIconKey(java.lang.String key, int type)
setIconKey
in interface FwkDescriptionInterface
key
- 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 FwkDescriptionInterface
setName
in class java.awt.Component
name
- The name of the application.getName()
public void setSupportEMail(java.lang.String eMail)
setSupportEMail
in interface FwkDescriptionInterface
eMail
- A string containing the support e-mail.public void setTitleName(java.lang.String name)
setTitleName
in interface FwkDescriptionInterface
setTitleName
in interface FwkPanelInterface
name
- The title name of the application.getTitleName()
public java.lang.String getPresentationString(java.util.Locale l)
getPresentationString
in interface FwkDescriptionInterface
getPresentationString
in interface FwkPresentationInterface
l
- The localepublic java.lang.String getPresentationString()
getPresentationString
in interface FwkDescriptionInterface
getPresentationString
in interface FwkPresentationInterface
l
- The localepublic java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
flavor
- - 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.Transferable
flavor
- - 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.UnsupportedFlavorException
java.awt.datatransfer.DataFlavor.getRepresentationClass()
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
clipboard
- - the clipboard that is no longer ownedcontents
- - the contents which this owner had placed on the clipboardpublic void release()
release
in interface FwkInterface
release
in interface javax.infobus.DataItem
public javax.infobus.InfoBusEventListener getSource()
getSource
in interface javax.infobus.DataItem
public void addCommand(FwkCommandInterface command)
addCommand
in interface FwkInstructionInterface
command
- The command to be added.public void addCommand(int index, FwkCommandInterface command)
addCommand
in interface FwkInstructionInterface
index
- 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 FwkInstructionInterface
command
- The action command string.public FwkCommandInterface[] getCommands()
getCommands
in interface FwkInstructionInterface
public FwkCommandInterface[] getCommands(FwkControllerInterface controller)
getCommands
in interface FwkPersistenceInterface
controller
- The Command controller.public void removeCommand(FwkCommandInterface command)
removeCommand
in interface FwkInstructionInterface
command
- The sub-command to be removed.public void setCommands(FwkCommandInterface[] commands)
setCommands
in interface FwkInstructionInterface
commands
- An array containing all sub-Commands.addCommand(FwkCommand command)
public java.lang.Object getProperty(java.lang.String key)
getProperty
in interface FwkItemInterface
getProperty
in interface javax.infobus.DataItem
key
- The property keyword.public void setProperty(java.lang.String key, java.lang.Object value)
setProperty
in interface FwkItemInterface
key
- The property keyword.object
- The property value.public FwkPropertyGroupInterface getPropertyGroup(java.lang.String groupName)
getPropertyGroup
in interface FwkItemInterface
groupName
- The name of the requested group.public void setPropertyGroup(FwkPropertyGroupInterface group)
setPropertyGroup
in interface FwkItemInterface
group
- the property group.public boolean commandsAvailable()
commandsAvailable
in interface FwkInstructionInterface
public void clearCommands()
clearCommands
in interface FwkInstructionInterface
public void addToGroup(int index, java.lang.String groupIdent, java.lang.String commandName)
addToGroup
in interface FwkInstructionInterface
index
- 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 FwkInstructionInterface
groupIdent
- The string identified of the group.commandName
- The name of the command.public void deleteGroup(java.lang.String groupIdent)
deleteGroup
in interface FwkInstructionInterface
groupIdent
- The string identified of the group.public FwkCommandInterface[] getGroup(java.lang.String groupIdent)
getGroup
in interface FwkInstructionInterface
groupIdent
- The string identified of the group.public boolean groupExists(java.lang.String groupIdent)
groupExists
in interface FwkInstructionInterface
public void removeFromGroup(java.lang.String groupIdent, java.lang.String commandName)
removeFromGroup
in interface FwkInstructionInterface
groupIdent
- The string identified of the group.commandName
- The name of the command.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void setSource(FwkInterface source)
setSource
in interface FwkPropertyChangeInterface
source
- The component to be given as the source for any events.public FwkArrayInterface getVetoableChangeListenerArray()
getVetoableChangeListenerArray
in interface FwkVetoableChangeInterface
public FwkArrayInterface getVetoableChangeListenerArray(java.lang.String propertyName)
getVetoableChangeListenerArray
in interface FwkVetoableChangeInterface
public FwkArrayInterface getVetoableChangeArray()
getVetoableChangeArray
in interface FwkVetoableChangeInterface
public void addVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener
in interface FwkVetoableChangeInterface
listener
- The property change listener.VetoableChangeSupport
public void addVetoableChangeListener(java.lang.String propertyName, FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener
in interface FwkVetoableChangeInterface
propertyName
- The property name.listener
- The vetoable change listener.VetoableChangeSupport
protected 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.VetoableChangeSupport
protected 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.VetoableChangeSupport
protected 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 FwkVetoableChangeInterface
listener
- The property change listener.VetoableChangeSupport
public void removeVetoableChangeListener(java.lang.String propertyName, FwkVetoableChangeListenerInterface listener)
removeVetoableChangeListener
in interface FwkVetoableChangeInterface
propertyName
- The property name.listener
- The property change listener.VetoableChangeSupport
public void suspendPropertyChangeEvents(boolean flag)
suspendPropertyChangeEvents
in interface FwkPropertyChangeInterface
flag
- If true the property change events will be suspended.public boolean isPropertyChangeEventSuspended()
isPropertyChangeEventSuspended
in interface FwkPropertyChangeInterface
public FwkArrayInterface getPropertyChangeListenerArray()
getPropertyChangeListenerArray
in interface FwkPropertyChangeInterface
public FwkArrayInterface getPropertyChangeListenerArray(java.lang.String propertyName)
getPropertyChangeListenerArray
in interface FwkPropertyChangeInterface
propertyName
- The name of the property whose listeners are requested.public FwkArrayInterface getPropertyChangeArray()
getPropertyChangeArray
in interface FwkPropertyChangeInterface
public void addPropertyChangeListener(FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener
in interface FwkPropertyChangeInterface
listener
- The property change listener.PropertyChangeSupport
public void addPropertyChangeListener(java.lang.String propertyName, FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener
in interface FwkPropertyChangeInterface
propertyName
- The property name.listener
- The property change listener.PropertyChangeSupport
public void firePropertyChange(java.beans.PropertyChangeEvent evt)
firePropertyChange
in interface FwkPropertyChangeInterface
evt
- The property change event.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
firePropertyChange
in class javax.swing.JComponent
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, char oldValue, char newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
firePropertyChange
in class javax.swing.JComponent
propertyName
- 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 FwkPropertyChangeInterface
firePropertyChange
in class javax.swing.JComponent
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, long oldValue, long newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
firePropertyChange
in class java.awt.Component
propertyName
- 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 FwkPropertyChangeInterface
firePropertyChange
in class java.awt.Component
propertyName
- 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 FwkPropertyChangeInterface
firePropertyChange
in class java.awt.Component
propertyName
- 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 FwkPropertyChangeInterface
firePropertyChange
in class java.awt.Component
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void removePropertyChangeListener(FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener
in interface FwkPropertyChangeInterface
listener
- The property change listener.PropertyChangeSupport
public void removePropertyChangeListener(java.lang.String propertyName, FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener
in interface FwkPropertyChangeInterface
propertyName
- The property name.listener
- The property change listener.PropertyChangeSupport
public void getPersistentObjectNames(FwkPersistenceInfoInterface persistentObjects)
getPersistentObjectNames
in interface FwkPersistenceInterface
persistentObjects
- The names of persistent objects.public int getNumberOfPages()
getNumberOfPages
in interface java.awt.print.Pageable
The
- total number of pages to be printed.Pageable
public java.awt.print.PageFormat getPageFormat(int pi)
getPageFormat
in interface java.awt.print.Pageable
pi
- The page index.Pageable
,
PageFormat
public void setPageFormat(java.awt.print.PageFormat pf, int pi)
setPageFormat
in interface FwkPrintableInterface
pf
- The new pageformat.pi
- The page index.public java.awt.print.Printable getPrintable(int pi)
getPrintable
in interface java.awt.print.Pageable
pi
- The page index.Pageable
,
PageFormat
public java.lang.String getPrintJobName()
getPrintJobName
in interface FwkPrintableInterface
public int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex) throws java.awt.print.PrinterException
print
in interface java.awt.print.Printable
graphics
- - 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.PrinterException
public void printPanel(java.awt.Graphics g)
printPanel
in interface FwkPanelInterface
g
- The graphical contents.public java.lang.Object readConstructor(org.w3c.dom.Document document, org.w3c.dom.Element node)
readConstructor
in interface FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
public org.w3c.dom.Element writeConstructor(org.w3c.dom.Document document, FwkXmlDtdInterface dtd, org.w3c.dom.Node node, java.util.Map classProperties)
writeConstructor
in interface FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
filename
- The name of the xml file.validate
- Write a validated cml file.public void readingDOM(boolean flag)
readingDOM
in interface FwkDOMHandlerInterface
flag
- true if the object reads currently fom DOM.public boolean readingDOM()
readingDOM
in interface FwkDOMHandlerInterface
public void suspendChangeManager(boolean flag)
Currently unused.
suspendChangeManager
in interface FwkItemInterface
flag
- if true the manager doesn' t send messages.public void fireItemAdded()
Currently unused.
fireItemAdded
in interface FwkItemInterface
public void fireItemDeleted()
Currently unused.
fireItemDeleted
in interface FwkItemInterface
public void fireItemRevoked()
Currently unused.
fireItemRevoked
in interface FwkItemInterface
public void fireItemValueChanged()
Currently unused.
fireItemValueChanged
in interface FwkItemInterface