public interface FwkContainerInterface extends FwkInterface
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMANDINTERFACE_KEY
The client property keyword for the helpset.
|
static java.lang.String |
CONTROLLER_KEY
The client property keyword for the command controller.
|
static java.lang.String |
HELPID_KEY
The client property keyword for the help ID.
|
static java.lang.String |
HELPSET_KEY
The client property keyword for the helpset.
|
static java.lang.String |
MIMETYPE_PREFIX
The mimetype prefix.
|
static long |
mSeconds
Timestamp for performance check.
|
Modifier and Type | Method and Description |
---|---|
void |
addComponentPropertiesImpl(java.lang.Class clazz)
Adds the component properties.
|
void |
addComponentPropertiesImpl(java.lang.String className)
Adds the component properties.
|
void |
addComponentPropertiesImpl(java.lang.String name,
java.lang.Class clazz)
Adds the component properties.
|
void |
addComponentPropertiesImpl(java.lang.String name,
java.lang.String className)
Adds the component properties.
|
void |
addTraceListenerImpl(FwkTraceListenerInterface listener)
�Add a trace listener to the listener list.
|
void |
createFromDroppedObjectImpl(java.lang.String infoBusName,
java.awt.datatransfer.DataFlavor df,
java.lang.Object data)
Create an item from the dropped data object.
|
void |
debugImpl(int level,
java.lang.String message)
Debug message output.
|
void |
debugImpl(int level,
java.lang.String[] message)
The array variant of the debug print method.
|
void |
exitImpl(int flag)
Exits the java environment.
|
void |
fireTraceImpl(FwkTraceEventInterface evt)
Fire an existing trace event to any registered listeners.
|
FwkApplicationInterface |
getApplicationImpl(java.awt.event.ActionEvent ev)
Get the application that fired the action event.
|
java.lang.String |
getBasicNameImpl(java.lang.String className)
Determine the basic name of an application.
|
FwkDescriptionInterface |
getClassDescriptorImpl(java.lang.Class clazz)
Get a descriptor of the specified class.
|
FwkDescriptionInterface |
getClassDescriptorImpl(java.lang.String className)
Get a descriptor of the specified class.
|
java.lang.Object |
getControllerImpl(java.lang.Object obj)
This method returns the controller of an object.
|
java.awt.datatransfer.DataFlavor[] |
getDataFlavorImpl(java.lang.Class clazz)
Get the toplevel flavor of the incoming class or
an array of length null if no interface was found.
|
java.awt.datatransfer.DataFlavor[] |
getDataFlavorImpl(java.lang.String mimeType)
Get a DataFlavor for the given mimetype.
|
java.awt.datatransfer.DataFlavor[] |
getDataFlavorsImpl(java.lang.Class clazz)
Get the dataflavors of the incoming class or
an array of length null if no interface was found.
|
java.awt.datatransfer.DataFlavor[] |
getDataFlavorsImpl(FwkArrayInterface mimeTypes)
Get a DataFlavor for the given mimetypes.
|
java.awt.datatransfer.DataFlavor[] |
getDataFlavorsImpl(java.lang.String[] mimeTypes)
Get DataFlavor for the given mimetypes.
|
int |
getDebugLevelImpl()
Get the current debug level.
|
long |
getElapsedTimeImpl()
Get the elapsed time since startup in milliseconds.
|
FwkArrayInterface |
getFwkMimeTypesImpl()
Return the mimetypes of the component.
|
FwkArrayInterface |
getFwkMimeTypesImpl(java.lang.Class clazz)
Return the mimetypes of a Class.
|
FwkArrayInterface |
getFwkMimeTypesImpl(java.lang.Object obj)
Return the mimetypes of an Object.
|
java.lang.String |
getHelpIDStringImpl(javax.swing.JComponent comp)
This method returns the helpID of the event source, or null
if not found.
|
javax.help.HelpSet |
getHelpSetImpl(javax.swing.JComponent comp)
This method returns the helpSet of the event source, or null
if not found.
|
java.lang.String[] |
getLAFNamesImpl()
Get LAF names.
|
java.util.Locale |
getLocaleImpl()
Get the desired Locale language.
|
java.lang.String |
getLocalHostAddressImpl()
Get the IP address of the current machine.
|
java.lang.String |
getLocalHostImpl()
Get the node name of the current machine.
|
java.lang.String |
getMimeTypeImpl(java.lang.Class clazz)
Get the mimetype of the incoming class.
|
FwkArrayInterface |
getMimeTypesImpl(java.lang.Class clazz)
Returns a string array containing all the mimetypes of the given class.
|
int |
getModificationsImpl()
Get the number of registered modifications.
|
boolean |
getSystemBooleanImpl(java.lang.String booleanName,
boolean defaultBool)
Get a system boolean.
|
java.lang.String |
getSystemPropertyImpl(java.lang.String propertyName,
java.lang.String defaultValue)
Get a system property.
|
long |
getTraceLevelImpl()
Get the trace level of the distributor.
|
FwkArrayInterface |
getTraceListenerArrayImpl()
Get a vector containing the registered trace listeners.
|
FwkTraceInterface |
getTracerImpl()
Get the trace.
|
java.lang.String |
getTranslatedApplicationNameImpl(java.lang.String className)
Get the translated (via property information) title
for the given class.
|
java.lang.String |
getUserNameImpl()
Get the user name of the current user.
|
int |
getYearImpl()
Get the current year.
|
void |
initializeImpl(java.lang.String[] args)
Initialize the component system system.
|
void |
installLookAndFeelDefaultsImpl()
Install the LAF defaults.
|
java.lang.Object |
instantiateImpl(java.lang.String className,
java.lang.String errorTitle)
Instantiate the requested class.
|
int |
isDropDataFlavorSupportedImpl(java.lang.String infoBusName,
java.awt.datatransfer.DataFlavor[] df)
Return a boolean whether the given data flavor is supported.
|
boolean |
isRegisteredImpl(FwkApplicationInterface appl)
Check whether the application is registered.
|
boolean |
isRegisteredImpl(java.lang.String applName)
Check whether the application is registered.
|
void |
printImpl(FwkPrintableInterface printable)
The application print command.
|
void |
printStackTraceImpl()
Print the stack trace.
|
FwkInfoBusProducerInterface |
registerComponentPropertiesImpl(java.lang.String name,
java.lang.Class clazz)
Register a new property producer.
|
void |
registerDropProducerImpl(FwkInfoBusDropProducerInterface producer)
Register a drop producer.
|
java.lang.String |
registerImpl(FwkApplicationInterface appl)
Register the application with the FwkApplicationBus.
|
void |
registerImpl(FwkApplicationInterface appl,
FwkArrayInterface mimeTypes)
Register the application with the FwkApplicationBus.
|
void |
registerImpl(FwkApplicationInterface appl,
java.lang.String mimeType)
Register the application with the FwkApplicationBus.
|
void |
registerImpl(FwkApplicationInterface appl,
java.lang.String[] mimeTypes)
Register the application with the FwkApplicationBus.
|
void |
removeTraceListenerImpl(FwkTraceListenerInterface listener)
�Remove a trace listener from the listener list.
|
void |
sendTraceImpl(java.lang.Object source,
long level,
java.lang.String message,
java.lang.String host,
java.lang.String user)
Send a trace.
|
void |
setLAFImpl(java.lang.String lafName)
Install the LAF.
|
void |
setLocaleImpl(java.util.Locale l)
Set the locale.
|
void |
setLocaleImpl(java.lang.String language,
java.lang.String country)
Set the locale.
|
void |
setTraceLevelImpl(long level)
Set the trace level of the distributor.
|
void |
showErrorMessageImpl(java.lang.String title,
java.lang.String label,
java.lang.String label2) |
void |
showErrorMessageImpl(java.lang.String title,
java.lang.String label,
java.lang.Throwable throwable) |
void |
unregisterImpl(FwkApplicationInterface appl)
Unregister the application from the ApplicationBus
|
byte[] |
unzipImpl(java.lang.String entry,
byte[] arr)
UNZIP a byte array.
|
void |
zipImpl(java.io.InputStream in,
java.io.OutputStream out,
java.lang.String entry)
UNZIP an inputstream and put the result into an output stream.
|
void |
zipImpl(java.io.OutputStream out,
java.lang.String entry,
byte[] arr)
ZIP a byte array into a output stream.
|
byte[] |
zipImpl(java.lang.String entry,
byte[] arr)
ZIP a byte array.
|
getVersion, release
static final java.lang.String CONTROLLER_KEY
static final java.lang.String HELPID_KEY
static final java.lang.String HELPSET_KEY
static final java.lang.String COMMANDINTERFACE_KEY
static final long mSeconds
static final java.lang.String MIMETYPE_PREFIX
FwkInfoBusProducerInterface registerComponentPropertiesImpl(java.lang.String name, java.lang.Class clazz)
clazz
- Class to be initialized.#eaPropertyProducer
void addComponentPropertiesImpl(java.lang.Class clazz)
clazz
- Class to be initialized.void addComponentPropertiesImpl(java.lang.String name, java.lang.Class clazz)
name
- The name of the property file without path and extention.clazz
- Class to be initialized.void addComponentPropertiesImpl(java.lang.String className)
className
- Name of the class to be initialized.void addComponentPropertiesImpl(java.lang.String name, java.lang.String className)
name
- The name of the property file without path and extention.clazzName
- Class name string to be inialized.FwkApplicationInterface getApplicationImpl(java.awt.event.ActionEvent ev)
ev
- The action event.java.lang.String getBasicNameImpl(java.lang.String className)
className
- The name of the class whose basic name is requested.FwkArrayInterface getFwkMimeTypesImpl()
FwkArrayInterface getFwkMimeTypesImpl(java.lang.Object obj)
obj
- The object that should be instrospected.FwkArrayInterface getFwkMimeTypesImpl(java.lang.Class clazz)
clazz
- The class that should be instrospected.FwkDescriptionInterface getClassDescriptorImpl(java.lang.String className)
className
- The name of the class to be ask for the descriptor.FwkDescriptionInterface getClassDescriptorImpl(java.lang.Class clazz)
clazz
- The class to be ask for the descriptor.java.lang.Object getControllerImpl(java.lang.Object obj)
obj
- The object from that the controller is requested.java.util.Locale getLocaleImpl()
java.lang.String getLocalHostImpl()
java.lang.String getLocalHostAddressImpl()
java.lang.String getMimeTypeImpl(java.lang.Class clazz)
clazz
- The class to be introspected.The
- mime type string.FwkArrayInterface getMimeTypesImpl(java.lang.Class clazz)
clazz
- The class that should be introspected.int getModificationsImpl()
java.lang.String getTranslatedApplicationNameImpl(java.lang.String className)
className
- The name of the class.java.lang.String getUserNameImpl()
void initializeImpl(java.lang.String[] args)
name
- The name of program.version
- The version of the program.args
- The command line arguments of the program.java.lang.Object instantiateImpl(java.lang.String className, java.lang.String errorTitle)
className
- The name of the class to get an instance from.errorTitle
- The title of the error message.void setLocaleImpl(java.lang.String language, java.lang.String country)
-language en -country US
language
- The language string.country
- The country string.void setLocaleImpl(java.util.Locale l)
-language en -country US
l
- The new Localevoid printImpl(FwkPrintableInterface printable) throws java.lang.RuntimeException
The
- printable object.java.lang.RuntimeException
void printStackTraceImpl()
void debugImpl(int level, java.lang.String message)
Level | Description |
---|---|
0 | all messages will be printed |
1 | low level |
2 | |
3 | |
4 | |
5 |
void debugImpl(int level, java.lang.String[] message)
int getDebugLevelImpl()
java.awt.datatransfer.DataFlavor[] getDataFlavorImpl(java.lang.String mimeType)
mimeType
- The mimetype string.java.awt.datatransfer.DataFlavor[] getDataFlavorsImpl(FwkArrayInterface mimeTypes)
mimeTypes
- The FWK mimetype array.java.awt.datatransfer.DataFlavor[] getDataFlavorsImpl(java.lang.String[] mimeTypes)
mimeTypes
- The mimetype string array.java.awt.datatransfer.DataFlavor[] getDataFlavorImpl(java.lang.Class clazz)
clazz
- The class to be introspected.The
- data flavor of the last mime type string of the filed MIMETYPE.java.awt.datatransfer.DataFlavor[] getDataFlavorsImpl(java.lang.Class clazz)
clazz
- The class to be introspected.The
- data flavor of the last mime type string of the filed MIMETYPE.void registerDropProducerImpl(FwkInfoBusDropProducerInterface producer)
producer
- an infobus data producer.int isDropDataFlavorSupportedImpl(java.lang.String infoBusName, java.awt.datatransfer.DataFlavor[] df)
infoBusName
- The name of the infobus.df
- the falvor array to be checked.void createFromDroppedObjectImpl(java.lang.String infoBusName, java.awt.datatransfer.DataFlavor df, java.lang.Object data) throws java.lang.RuntimeException
infoBusName
- the name of the bus on that the item should be created,df
- The data flavor of the dropped object.data
- The dropped object.java.lang.RuntimeException
void installLookAndFeelDefaultsImpl()
void setLAFImpl(java.lang.String lafName)
name
- The name of the LAF to be installed.java.lang.String[] getLAFNamesImpl()
java.lang.String registerImpl(FwkApplicationInterface appl) throws java.lang.RuntimeException
appl
- The application to be registered.mimeType
- The mimetype string.java.lang.RuntimeException
- if the application is eternal and already registered.void registerImpl(FwkApplicationInterface appl, java.lang.String mimeType) throws java.lang.RuntimeException
appl
- The application to be registered.mimeType
- The mimetype string.java.lang.RuntimeException
- if the application is eternal and already registered.void registerImpl(FwkApplicationInterface appl, java.lang.String[] mimeTypes) throws java.lang.RuntimeException
appl
- The application to be registered.mimeTypes
- The mimetype list.java.lang.RuntimeException
- if the application is eternal and already registered.void registerImpl(FwkApplicationInterface appl, FwkArrayInterface mimeTypes) throws java.lang.RuntimeException
appl
- The application to be registered.mimeTypes
- The mimetype array.java.lang.RuntimeException
- if the application is eternal and already registered.boolean isRegisteredImpl(FwkApplicationInterface appl)
appl
- The application to be checked.boolean isRegisteredImpl(java.lang.String applName)
applName
- The name of the application to be checked.void unregisterImpl(FwkApplicationInterface appl)
appl
- The application to be registered.void exitImpl(int flag)
flag
- The exit status.long getElapsedTimeImpl()
boolean getSystemBooleanImpl(java.lang.String booleanName, boolean defaultBool)
booleanName
- The requested property name.defaultBool
- The default if no property available or
a security exception occurred.java.lang.String getSystemPropertyImpl(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- The requested property name.defaultName
- The default if no property available or
a security exception occurred.int getYearImpl()
FwkTraceInterface getTracerImpl()
FwkArrayInterface getTraceListenerArrayImpl()
void addTraceListenerImpl(FwkTraceListenerInterface listener)
listener
- The trace listener.void removeTraceListenerImpl(FwkTraceListenerInterface listener)
listener
- The trace listener to be removed.void fireTraceImpl(FwkTraceEventInterface evt)
evt
- The trace event.void setTraceLevelImpl(long level)
the
- new level.long getTraceLevelImpl()
the
- new level.void sendTraceImpl(java.lang.Object source, long level, java.lang.String message, java.lang.String host, java.lang.String user)
java.lang.String getHelpIDStringImpl(javax.swing.JComponent comp)
ev
- The action event source.javax.help.HelpSet getHelpSetImpl(javax.swing.JComponent comp)
ev
- The action event source.void showErrorMessageImpl(java.lang.String title, java.lang.String label, java.lang.String label2)
void showErrorMessageImpl(java.lang.String title, java.lang.String label, java.lang.Throwable throwable)
void zipImpl(java.io.OutputStream out, java.lang.String entry, byte[] arr)
out
- The output streamentry
- The name of the newly created entry.arr
- The array to be zipped.byte[] zipImpl(java.lang.String entry, byte[] arr)
arr
- The array to be zipped.entry
- The name of the newly created entry.void zipImpl(java.io.InputStream in, java.io.OutputStream out, java.lang.String entry)
out
- The output streamin
- The input stream.entry
- The name or pattern of the entry(ies) to be unzipped.byte[] unzipImpl(java.lang.String entry, byte[] arr)
arr
- The array to be unzipped.entry
- The name or pattern of the entry(ies) to be unzipped.