public abstract class CommandContainer extends FwkCommand implements CommandContainerInterface
,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
class |
CommandContainer.ToolBarMouseListener
The mouse listener on the toolbar.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
author
The author name.
|
protected java.lang.String |
buildnr
The build number.
|
protected java.awt.Color |
color
The color.
|
protected java.lang.String |
company
The company name.
|
protected FwkControllerInterface |
controller
The controller.
|
protected java.lang.String |
copyright
The copyright string.
|
protected java.util.Date |
creationDate
The creation date.
|
protected java.lang.String |
dateFormatString
The date format string.
|
protected java.lang.String |
description
The description of the application.
|
protected java.lang.String |
eMail
The support email.
|
protected FwkIconInterface[] |
icon |
protected int |
iconCount
The icon array.
|
protected java.lang.String[] |
iconKey
The icon keyword.
|
protected java.lang.String |
internetAddress
The internet address of the company.
|
protected java.lang.String |
name |
protected boolean |
readingDOM |
protected java.lang.String |
titleName |
protected int |
toolBarAlignment
The toolbar alignment.
|
protected java.lang.String |
toolBarPosition
The toolbar position.
|
protected java.lang.String |
toolTipTextKey
The tool tip text key.
|
static java.lang.String |
version |
actionListeners, buttonClass, commandName, helpID, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visiblesourceclassName, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICONCONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTEDAUTHOR, 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 |
|---|
CommandContainer()
The constructor.
|
CommandContainer(FwkControllerInterface controller)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JToolBar |
addToolBar(FwkPanelInterface panel)
Retrieves a toolbar from command object array.
|
javax.swing.JToolBar |
addToolBar(FwkPanelInterface panel,
java.lang.String position,
int alignment)
Retrieves a toolbar from command object array.
|
protected FwkCommandInterface |
createCommand(java.lang.String className)
Instanciate command
|
boolean |
destroyController()
Destroy the controller.
|
java.lang.String |
getAuthor()
Get the author name.
|
java.lang.String |
getBuild()
Get the build number.
|
java.awt.Color |
getColor()
Get the color.
|
FwkCommandInterface[] |
getCommands()
Get the array containing the command.
|
java.lang.String |
getCompany()
Get the company name.
|
java.lang.String |
getCompanyInternetAddress()
Get the internet address of the company.
|
protected FwkCommandInterface |
getContainerCommand(java.lang.String className)
Get a container command.
|
FwkControllerInterface |
getController()
Return the controller.
|
java.lang.String |
getCopyright()
Get the copyright.
|
java.lang.String |
getCreationDate()
Get the creation date.
|
java.lang.String |
getCreationDate(java.lang.String formatString)
Get the creation date.
|
java.lang.String |
getDateFormatString()
Get the date format string.
|
java.lang.String |
getDescription()
Get the description.
|
FwkIconInterface |
getIcon()
Get the icon image.
|
FwkIconInterface |
getIcon(int type)
Get the image icon of the application
|
java.lang.String |
getIconKey()
Get the property keyword of the icon.
|
java.lang.String |
getIconKey(int type)
Get the property keyword of the icon.
|
java.lang.String |
getName()
Return the name of the ASAM-FWK object.
|
java.lang.String |
getPresentationString()
Retrieves the representation string.
|
java.lang.String |
getPresentationString(java.util.Locale locale)
Retrieves the representation string.
|
abstract java.lang.String |
getPropertyGroupName()
Get the property group name to find the commands.
|
java.lang.String |
getSupportEMail()
Get the support e-mail.
|
java.lang.String |
getTitle()
Get the title.
|
java.lang.String |
getTitleName()
Get the title name.
|
int |
getToolBarAlignment()
Get the toolbar alignment.
|
java.lang.String |
getToolBarPosition()
Get the toolbar position.
|
java.lang.String |
getToolTipText()
Get the tool tip text belong to the tool tip text key.
|
java.lang.String |
getToolTipTextKey()
Get the tool tip text property key.
|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor)
Returns an object which represents the data to be transferred.
|
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Returns whether or not the specified data flavor is supported for this object.
|
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Notifies this object that it is no longer the owner of the contents of the clipboard.
|
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 |
setAuthor(java.lang.String author)
Set the author name.
|
void |
setBuild(java.lang.String buildnr)
Set the build number.
|
void |
setColor(java.awt.Color color)
Set the color.
|
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.
|
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 |
setDefaultCommands()
Set the default command for that container.
|
void |
setDescription(java.lang.String description)
Set the description of the application.
|
void |
setDescriptor(FwkDescriptionInterface descriptor)
Initialize the object with values of the given FwkDescription.
|
void |
setIcon(FwkIconInterface icon)
Set the icon image.
|
void |
setIcon(FwkIconInterface icon,
int type)
Set the image icon of the application
|
void |
setIconKey(java.lang.String key)
Set the property keyword of the icon.
|
void |
setIconKey(java.lang.String key,
int type)
Set the property keyword of the icon.
|
void |
setName(java.lang.String name)
Set the name of the ASAM-FWK object.
|
void |
setSupportEMail(java.lang.String eMail)
Get the support e-mail.
|
void |
setTitleName(java.lang.String titleName)
Set the title of the application.
|
void |
setToolBarAlignment(int alignment)
Set the toolbar alignment.
|
void |
setToolBarPosition(java.lang.String position)
Set the position of the toolbar.
|
void |
setToolTipTextKey(java.lang.String key)
Set the tool tip text key.
|
java.lang.String |
toString()
Get a string representation of the object.
|
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.
|
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, execute, getActionListenerArray, getButtonClass, getCommand, getCommandName, getGroup, getHelpID, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setHelpID, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregisteraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsgetClassName, setClassNamegetNiceVersion, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddActionListener, addMenuListener, execute, getActionListenerArray, getButtonClass, getCommandName, getHelpID, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getVisibility, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeMenuListener, setAsParent, setButtonClass, setCommandName, setHelpID, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregisteraddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsreleaseaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsgetClassName, setClassNameprotected FwkControllerInterface controller
protected java.awt.Color color
protected java.lang.String toolTipTextKey
protected java.lang.String toolBarPosition
protected int toolBarAlignment
protected boolean readingDOM
public static final java.lang.String version
protected java.lang.String author
protected java.lang.String buildnr
protected java.lang.String company
protected java.lang.String copyright
protected java.util.Date creationDate
protected java.lang.String dateFormatString
protected java.lang.String description
protected java.lang.String eMail
protected final int iconCount
protected FwkIconInterface[] icon
protected java.lang.String[] iconKey
protected java.lang.String internetAddress
protected java.lang.String titleName
protected java.lang.String name
public CommandContainer()
public CommandContainer(FwkControllerInterface controller)
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkCommandpublic void setController(FwkControllerInterface controller)
setController in interface FwkControlledByInterfacesetController in class FwkCommandcontroller - the new controller.FwkCommand.getController(),
#FwkMenuFactorypublic FwkControllerInterface getController()
getController in interface FwkControlledByInterfacegetController in class FwkCommand#setController(Object),
#FwkMenuFactorypublic 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 java.awt.Color getColor()
getColor in interface CommandContainerInterfacepublic void setColor(java.awt.Color color)
setColor in interface CommandContainerInterfacecolor - The color.public void setToolTipTextKey(java.lang.String key)
setToolTipTextKey in interface CommandContainerInterfacekey - The tool tip text property key.public java.lang.String getToolTipTextKey()
getToolTipTextKey in interface CommandContainerInterfacepublic java.lang.String getToolTipText()
getToolTipText in interface CommandContainerInterfacegetToolTipText in interface FwkCommandInterfacegetToolTipText in class FwkCommandFwkCommand.setToolTipText(String),
FwkCommand.getToolTipKey()public FwkCommandInterface[] getCommands()
getCommands in interface FwkInstructionInterfacegetCommands in class FwkCommandprotected FwkCommandInterface createCommand(java.lang.String className)
className - The name of the class.protected FwkCommandInterface getContainerCommand(java.lang.String className)
className - The name of the class.public void setToolBarPosition(java.lang.String position)
setToolBarPosition in interface CommandContainerInterfaceposition - The border layout position constants. Use NORTH,
EAST, SOUTH or WEST only. CENTER is not supported
and will be ignored.public java.lang.String getToolBarPosition()
getToolBarPosition in interface CommandContainerInterfacepublic void setToolBarAlignment(int alignment)
setToolBarAlignment in interface CommandContainerInterfacealignment - The alignment of the flow layout.public int getToolBarAlignment()
getToolBarAlignment in interface CommandContainerInterfacepublic javax.swing.JToolBar addToolBar(FwkPanelInterface panel, java.lang.String position, int alignment)
addToolBar in interface CommandContainerInterfacepanel - The to that the toolbar should be added. It maust have a BorderLayoutalignment - The alignment of the flow layout.public javax.swing.JToolBar addToolBar(FwkPanelInterface panel)
addToolBar in interface CommandContainerInterfacepanel - The to that the toolbar should be added. It maust have a BorderLayoutpublic java.lang.String getAuthor()
getAuthor in interface FwkDescriptionInterfacegetAuthor in class FwkDescriptionsetAuthor(String)public java.lang.String getBuild()
getBuild in interface FwkDescriptionInterfacegetBuild in class FwkDescription#setBuild(int)public java.lang.String getCompany()
getCompany in interface FwkDescriptionInterfacegetCompany in interface FwkDOMHandlerInterfacegetCompany in class FwkDescriptionsetCompany(String)public java.lang.String getCompanyInternetAddress()
getCompanyInternetAddress in interface FwkDescriptionInterfacegetCompanyInternetAddress in class FwkDescriptionpublic java.lang.String getCopyright()
getCopyright in interface FwkDescriptionInterfacegetCopyright in class FwkDescriptionsetCopyright(String)public java.lang.String getCreationDate()
getCreationDate in interface FwkDescriptionInterfacegetCreationDate in class FwkDescription#setCreationDate(Date)public java.lang.String getCreationDate(java.lang.String formatString)
getCreationDate in interface FwkDescriptionInterfacegetCreationDate in class FwkDescriptionformatString - The date format string#java.text.SimpleDateFormat,
#setCreationDate(Date)public java.lang.String getDateFormatString()
getDateFormatString in interface FwkDescriptionInterfacegetDateFormatString in class FwkDescriptionpublic java.lang.String getDescription()
getDescription in interface FwkDescriptionInterfacegetDescription in class FwkDescriptionsetDescription(String)public FwkIconInterface getIcon()
getIcon in interface FwkCommandInterfacegetIcon in interface FwkDescriptionInterfacegetIcon in class FwkCommandsetIcon(FwkIconInterface)public FwkIconInterface getIcon(int type)
getIcon in interface FwkDescriptionInterfacegetIcon in class FwkDescriptiontype - The type of the icon, use the predefined values (see above).#setIcon(Icon)public java.lang.String getIconKey()
getIconKey in interface FwkCommandInterfacegetIconKey in interface FwkDescriptionInterfacegetIconKey in class FwkCommand#getIconImage()public java.lang.String getIconKey(int type)
getIconKey in interface FwkDescriptionInterfacegetIconKey in class FwkDescriptiontype - The type of the icon, use the predefined values (see above).public java.lang.String getName()
getName in interface FwkDescriptionInterfacegetName in class FwkDescriptionpublic java.lang.String getPresentationString(java.util.Locale locale)
getPresentationString in interface FwkDescriptionInterfacegetPresentationString in interface FwkPresentationInterfacegetPresentationString in class FwkDescriptionlocale - The Locale object or null.public java.lang.String getPresentationString()
getPresentationString in interface FwkDescriptionInterfacegetPresentationString in interface FwkPresentationInterfacegetPresentationString in class FwkDescriptionpublic java.lang.String getSupportEMail()
getSupportEMail in interface FwkDescriptionInterfacegetSupportEMail in class FwkDescriptionpublic java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacegetTitle in class FwkDescriptionpublic java.lang.String getTitleName()
getTitleName in interface FwkDescriptionInterfacegetTitleName in class FwkDescriptionsetName(String)public void setAuthor(java.lang.String author)
setAuthor in interface FwkDescriptionInterfacesetAuthor in class FwkDescriptionauthor - The name of the author.getAuthor()public void setBuild(java.lang.String buildnr)
setBuild in interface FwkDescriptionInterfacesetBuild in class FwkDescriptionbuildnr - The string representing the build number.getBuild()public void setCompany(java.lang.String company)
setCompany in interface FwkDescriptionInterfacesetCompany in class FwkDescriptioncompany - The name of the company.getCompany()public void setCompanyInternetAddress(java.lang.String address)
setCompanyInternetAddress in interface FwkDescriptionInterfacesetCompanyInternetAddress in class FwkDescriptionpublic void setCopyright(java.lang.String copyright)
setCopyright in interface FwkDescriptionInterfacesetCopyright in class FwkDescriptionThe - copyright string.getCopyright()public void setCreationDate(java.lang.String dateString,
java.lang.String formatString)
setCreationDate in interface FwkDescriptionInterfacesetCreationDate in class FwkDescriptiondateString - The Date of the application.formatString - The format string.#java.text.SimpleDateFormat,
getCreationDate()public void setCreationDate(java.lang.String dateString)
setCreationDate in interface FwkDescriptionInterfacesetCreationDate in class FwkDescriptiondateString - The Date of the application.#java.text.SimpleDateFormat,
getCreationDate()public void setDateFormatString(java.lang.String formatString)
setDateFormatString in interface FwkDescriptionInterfacesetDateFormatString in class FwkDescriptionformatString - The format string.#java.text.SimpleDateFormat,
getCreationDate()public void setDescription(java.lang.String description)
setDescription in interface FwkDescriptionInterfacesetDescription in class FwkDescriptiondescription - The description of the application.getDescription()public void setDescriptor(FwkDescriptionInterface descriptor) throws FwkException
setDescriptor in interface FwkDescriptionInterfacesetDescriptor in class FwkDescriptiondescriptor - The FwkDescription from that the value should be copied.FwkExceptionpublic void setIcon(FwkIconInterface icon)
setIcon in interface FwkCommandInterfacesetIcon in interface FwkDescriptionInterfacesetIcon in class FwkCommandThe - icon of the application.getIcon()public void setIcon(FwkIconInterface icon, int type)
setIcon in interface FwkDescriptionInterfacesetIcon in class FwkDescriptionicon - The icon to be set.type - The type of the icon, use predefined values defined above.
If this value is out of range, no icon will be set.getIcon()public void setIconKey(java.lang.String key)
setIconKey in interface FwkCommandInterfacesetIconKey in interface FwkDescriptionInterfacesetIconKey in class FwkCommandkey - The keyword for the icon.FwkCommand.getIconKey(),
FwkCommand.getIcon()public void setIconKey(java.lang.String key,
int type)
setIconKey in interface FwkDescriptionInterfacesetIconKey in class FwkDescriptionkey - 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 FwkDescriptionname - The name of the object.getName()public void setSupportEMail(java.lang.String eMail)
setSupportEMail in interface FwkDescriptionInterfacesetSupportEMail in class FwkDescriptioneMail - A string containing the support e-mail.public void setTitleName(java.lang.String titleName)
setTitleName in interface FwkDescriptionInterfacesetTitleName in class FwkDescriptionname - The name of the title.getName()public java.lang.String toString()
toString in class FwkCommandpublic java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface java.awt.datatransfer.TransferablegetTransferDataFlavors in class FwkDescriptionpublic boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported in interface java.awt.datatransfer.TransferableisDataFlavorSupported in class FwkDescriptionflavor - - 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.TransferablegetTransferData in class FwkDescriptionflavor - - 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.ClipboardOwnerlostOwnership in class FwkDescriptionclipboard - - the clipboard that is no longer ownedcontents - - the contents which this owner had placed on the clipboardpublic void setDefaultCommands()
The property group getPropertyGroupName() is used to get all available commands from configuration. If an element is set to null text string, the routine doesn't try to instanciate and generates no error message.
Example if the method getPropertyGroupName return MED.DataManipulator:
MED.DataManipulator.Cut = com.highqsoft.med.MEDCut
MED.DataManipulator.Scale = null
setDefaultCommands in interface CommandContainerInterfacepublic abstract java.lang.String getPropertyGroupName()
public boolean destroyController()
FwkControllerInterfacedestroyController in interface FwkControllerInterface