A B C D E F G H I L M N O P R S T U W 

A

AbstractAppDc - Class in net.sf.cuf.fw2
The AbstractAppDc implements the common stuff (AppEvent handling) of the AppDc interface.
AbstractAppDc() - Constructor for class net.sf.cuf.fw2.AbstractAppDc
 
AbstractDialogDc - Class in net.sf.cuf.fw2
The AbstractDialogDc implements the common stuff (AppEvent handling, canPassivate check) of the DialogDc interface.
AbstractDialogDc() - Constructor for class net.sf.cuf.fw2.AbstractDialogDc
 
AbstractDialogPc - Class in net.sf.cuf.fw2
The AbstractDialogPc implements the common stuff (AppEvent handling) of the DialogPc interface.
AbstractDialogPc() - Constructor for class net.sf.cuf.fw2.AbstractDialogPc
 
AbstractDispatcher - Class in net.sf.cuf.xfer
The dispatcher class provides methods to produce and dispatch a response object from a request object.
AbstractDispatcher() - Constructor for class net.sf.cuf.xfer.AbstractDispatcher
Create a (stateless) dispatcher.
AbstractDispatcher.DispatchRunnable - Class in net.sf.cuf.xfer
The runnable handling the dispatch.
AbstractDispatcher.DispatchRunnable(Request) - Constructor for class net.sf.cuf.xfer.AbstractDispatcher.DispatchRunnable
Create a new runnable for dispatching the request
AbstractRequest - Class in net.sf.cuf.xfer
This class provides the common stuff of all Request classes.
AbstractRequest() - Constructor for class net.sf.cuf.xfer.AbstractRequest
Derived classes must call this constructor via super() if they want to get the benefit of delegate handling.
addParameter(String, Object) - Method in class net.sf.cuf.fw2.DialogDescription
Add a paraemter to the dialog
AppDc - Interface in net.sf.cuf.fw2
A AppDc enhances the basic Dc interface with support for AppEvent's and serves as a dialog coordinator for any number of DialogDc objects.
AppEvent - Class in net.sf.cuf.appevent
AppEvent is the base class of all events that use the AppEvent mechanism.
AppEvent(Object) - Constructor for class net.sf.cuf.appevent.AppEvent
Create a non-consumed event.
AppEventManager - Class in net.sf.cuf.appevent
A AppEventManager object can be used to dispatch events to registered listeners.
AppEventManager() - Constructor for class net.sf.cuf.appevent.AppEventManager
The constructor creates a new AppEventManager.
AppEventSupport - Interface in net.sf.cuf.appevent
This interface is a marker for all objects that want to form a "chain of responsabilty" to dispatch events to receivers.
AppEventUtil - Class in net.sf.cuf.appevent
Small helper class to make implementing AppEventSupport more easy: the default case is to forward the event to an objects "parent".
Application - Interface in net.sf.cuf.fw
The Application interface describes the protocol needed to start/stop an application, to maintain the user properties and to get/set the application models.
APPLICATION_KEY - Static variable in interface net.sf.cuf.fw.Application
Key for the application object in the argument map passed to the init method of Dc and Pc interfaces.
AppPc - Interface in net.sf.cuf.fw2
A AppPc enhances the basic Pc interface with support for AppEvent's and an enhanced life cycle.
asyncDispatch(Request) - Method in class net.sf.cuf.xfer.AbstractDispatcher
Generate a response and and dispatch it in a new (separate) thread.
asyncDispatch(Request) - Method in interface net.sf.cuf.xfer.Dispatch
Generate a response and and dispatch it in a new (seperate) thread.
asyncDispatchInEDT(Request) - Method in class net.sf.cuf.xfer.AbstractDispatcher
Generate a response in a new (separate) thread and dispatch the response in the EDT (event dispatch thread).
asyncDispatchInEDT(Request) - Method in interface net.sf.cuf.xfer.Dispatch
Generate a response in a new (seperate) thread and dispatch the response in the EDT (event dispatch thread).

B

BindEvent - Class in net.sf.cuf.appevent
A BindEvent object is used to bind AppEvent classes to (any number of) event receivers.
BindEvent(Object, String, Class<? extends AppEvent>) - Constructor for class net.sf.cuf.appevent.BindEvent
The constructor creates a BindEvent with the handed values and an unbound hop-count.
BindEvent(Object, String, Class<? extends AppEvent>, int) - Constructor for class net.sf.cuf.appevent.BindEvent
The constructor creates a BindEvent with the handed values.
BLOCKED_EVENTS - Static variable in class net.sf.cuf.fw2.AbstractAppDc
A list of the events we do not forward but handle via our own AppEventManager.
BlockEvent - Class in net.sf.cuf.fw2
A BlockEvent is used to by a Dc/Pc to signal "the user should not make any further input".
BlockEvent(Object, boolean) - Constructor for class net.sf.cuf.fw2.BlockEvent
Create a non-consumed event to block or unblock the GUI.
BlockEvent(Object, long) - Constructor for class net.sf.cuf.fw2.BlockEvent
Create a non-consumed event to block the GUI.

C

canBeCancelled() - Method in class net.sf.cuf.xfer.AbstractRequest
A request object may be canceled if this method returns true.
canBeCancelled() - Method in interface net.sf.cuf.xfer.Request
A request object may be canceled if this method returns true.
cancel() - Method in class net.sf.cuf.xfer.AbstractRequest
Cancel the current request; this implementation will always throw an IllegalStateException.
cancel() - Method in interface net.sf.cuf.xfer.Request
Cancel the current request; if the request was completed before the cancel call, the cancel call will be silently ignored.
canPassivate() - Method in class net.sf.cuf.fw2.AbstractDialogDc
We assume that all dialogs that don't care can always be passivated.
canPassivate() - Method in class net.sf.cuf.fw2.DialogManager
Helper method that checks if all active dialogs can be passivated.
canPassivate() - Method in interface net.sf.cuf.fw2.SimpleLifeCycle
Test to check if a dialog in the active state can be moved to the passive state.
closeDialog(CloseDialogEvent) - Method in class net.sf.cuf.fw2.DialogManager
Closes an open dialog.
CloseDialogEvent - Class in net.sf.cuf.fw2
A CloseDialogEvent signals that a dialog should be closed.
CloseDialogEvent(Object, String) - Constructor for class net.sf.cuf.fw2.CloseDialogEvent
Creates a new close dialog.
CloseDialogEvent(Object, String, boolean) - Constructor for class net.sf.cuf.fw2.CloseDialogEvent
Creates a new close dialog.
CloseDialogEvent(Object, Dc) - Constructor for class net.sf.cuf.fw2.CloseDialogEvent
Creates a new close dialog.
CloseDialogEvent(Object, Dc, boolean) - Constructor for class net.sf.cuf.fw2.CloseDialogEvent
Creates a new close dialog.
consume() - Method in class net.sf.cuf.appevent.AppEvent
Consume the event.
ContactHandler - Interface in net.sf.cuf.singleapp
Handles contacts from other started instances

D

Dc - Interface in net.sf.cuf.fw
This interface describes all methods common to dialog controllers.
DEFAULT_USER_PROPERTIES_FILENAME - Static variable in class net.sf.cuf.fw2.UserProperties
Filename to use for userProps, if no one given as parameter
DefaultDispatchTarget - Class in net.sf.cuf.xfer
DefaultDispatchTarget is a default implementation for the DispatchTarget interface.
DefaultDispatchTarget() - Constructor for class net.sf.cuf.xfer.DefaultDispatchTarget
 
DefaultResponse - Class in net.sf.cuf.xfer
DefaultResponse is a default implementation for the Response interface.
DefaultResponse() - Constructor for class net.sf.cuf.xfer.DefaultResponse
Creates an invalid response with a null error object that was not cancelled.
DefaultResponse(boolean) - Constructor for class net.sf.cuf.xfer.DefaultResponse
Creates an invalid response with a null error object.
DialogApplication - Interface in net.sf.cuf.fw2
A DialogApplication enhances the basic Application interface with support for AppEvent's and a more complex dialog management.
dialogClosed(Dc, boolean, Map<String, Object>) - Method in interface net.sf.cuf.fw2.DialogManager.DialogCallback
Called after a dialog was closed.
DialogDc - Interface in net.sf.cuf.fw2
A DialogDc enhances the basic Dc interface with a more powerful dialog lifecycle and support for AppEvent's.
DialogDescription - Class in net.sf.cuf.fw2
Small helper class that stores the meta data about a dialog.
DialogDescription() - Constructor for class net.sf.cuf.fw2.DialogDescription
 
DialogManager - Class in net.sf.cuf.fw2
This helper class manages the opening and closing of dialogs.
DialogManager.DialogCallback - Interface in net.sf.cuf.fw2
Callback interface for the opening/closing of a dialog.
dialogOpened(Dc, Map<String, Object>) - Method in interface net.sf.cuf.fw2.DialogManager.DialogCallback
Called after a dialog was opened.
DialogPc - Interface in net.sf.cuf.fw2
A DialogPc enhances the basic Pc interface with support for AppEvent's, a standardized interface for a DialogDc to get the visual presentation for the dialog and a dispose() method for an enhanced lifecycle.
Dispatch - Interface in net.sf.cuf.xfer
The Dispatch Interface provides methods to produce and dispatch a response object from a request object.
DispatchTarget - Interface in net.sf.cuf.xfer
A DispatchTarget is a convience interface that maps from object/methodname to object/method.
Disposable - Interface in net.sf.cuf.fw2
The Disposable interface describes a part of a more complex lifecycle, and is used to encapsulate the common life cycle of AppDc, AppPc, DialogDc and DialogPc.
dispose(Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractAppDc
Called from the application to to cleanup all resources.
dispose(Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractDialogDc
Called from the dialog coordinator to tell the dialog to cleanup all resources.
dispose(Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractDialogPc
Called from the DialogDc peer to cleanup all resources.
dispose(Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.DialogManager
Called from the peer that coordinates our life cycle to tell us to cleanup all resources.
dispose(Map<String, ? super Object>) - Method in interface net.sf.cuf.fw2.Disposable
Called from the peer that coordinates our life cycle to tell us to cleanup all resources.
doActivate(Map<String, ? super Object>) - Method in interface net.sf.cuf.fw2.SimpleLifeCycle
Called from the dialog coordinator to tell the dialog to switch to the active state.
doDispatch(Runnable) - Method in class net.sf.cuf.xfer.AbstractDispatcher
The callback method to switch to the "right" UI thread.
doPassivate(Map<String, ? super Object>) - Method in interface net.sf.cuf.fw2.SimpleLifeCycle
Called from the dialog coordinator to tell the dialog to switch to the passive state.
doStart(String[]) - Method in interface net.sf.cuf.fw.Application
Called to start an application.
doStop() - Method in interface net.sf.cuf.fw.Application
Called to stop an application.

E

equals(Object) - Method in class net.sf.cuf.xfer.AbstractRequest
A AbstractRequest is equal to an other AbstractRequest if their delegates and dispatch targets are equal.
equals(Object) - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
equals(Object) - Method in class net.sf.cuf.xfer.DefaultResponse
 
execute() - Method in interface net.sf.cuf.xfer.Request
Generate a response for the current request state.
execute(Request) - Method in interface net.sf.cuf.xfer.RequestDelegate
Generates a response for the handed request.

F

forward() - Method in class net.sf.cuf.appevent.AppEvent
The method is called once at each step during processing.
forward() - Method in class net.sf.cuf.appevent.BindEvent
During the propagation in the chain of responsibilty, at each hop the forward() method should be called according to the AppEventSupport "contract".

G

getActiveDialog() - Method in class net.sf.cuf.fw2.AbstractAppDc
 
getActiveDialog() - Method in interface net.sf.cuf.fw2.AppDc
Returns the active dialog.
getActiveDialog() - Method in class net.sf.cuf.fw2.DialogManager
Returns the last dialog that was opened by this DialogManager or null if there is currently no active dialog.
getActiveDialogs() - Method in class net.sf.cuf.fw2.AbstractAppDc
 
getActiveDialogs() - Method in interface net.sf.cuf.fw2.AppDc
Returns a list of the active dialogs.
getActiveDialogs() - Method in class net.sf.cuf.fw2.DialogManager
Returns a list of active dialog objects.
getAppModel() - Method in interface net.sf.cuf.fw.Application
Returns the models of the applicaton.
getClientResult() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
 
getDc() - Method in class net.sf.cuf.fw2.DialogDescription
Return the dialog of this description
getDelegate() - Method in class net.sf.cuf.xfer.AbstractRequest
Returns our request delegate.
getDelegate() - Method in interface net.sf.cuf.xfer.Request
Returns our request delegate.
getDialog() - Method in class net.sf.cuf.fw2.CloseDialogEvent
The dialog Dc of this close event.
getDialog() - Method in class net.sf.cuf.fw2.OpenDialogEvent
The dialog Dc of this open event.
getDialogArguments() - Method in class net.sf.cuf.fw2.OpenDialogEvent
Returns arguments for the doPassivate() call.
getDialogClass() - Method in class net.sf.cuf.fw2.DialogDescription
Retrun the dialog class.
getDialogIcon() - Method in class net.sf.cuf.fw2.DialogDescription
Return the dialog icon name.
getDialogId() - Method in class net.sf.cuf.fw2.CloseDialogEvent
The dialog id of this close event.
getDialogId() - Method in class net.sf.cuf.fw2.DialogDescription
Return the dialog id.
getDialogId() - Method in class net.sf.cuf.fw2.OpenDialogEvent
The dialog id of this open event.
getDialogName() - Method in class net.sf.cuf.fw2.DialogDescription
Return the dialog name.
getDialogResults() - Method in class net.sf.cuf.fw2.OpenDialogEvent
Returns the result of a open, this is only useful for modal dialogs, non-modal dialogs will always return an empty map.
getDispatchTarget() - Method in class net.sf.cuf.xfer.AbstractRequest
Returns our dispatch target.
getDispatchTarget() - Method in interface net.sf.cuf.xfer.Request
Returns our dispatch target.
getError() - Method in class net.sf.cuf.xfer.DefaultResponse
 
getError() - Method in interface net.sf.cuf.xfer.Response
Returns the error for this response.
getEstimatedBlockDuration() - Method in class net.sf.cuf.fw2.BlockEvent
Returns the estimated time the block will take, -1 if we don't know.
getException() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
 
getMenuInsertionIndeces() - Method in class net.sf.cuf.fw2.MenuToolBarEvent
Returns the menu insertion map.
getMenus() - Method in class net.sf.cuf.fw2.MenuToolBarEvent
Returns the menu map.
getMethod() - Method in class net.sf.cuf.appevent.BindEvent
Returns the method object for the target object.
getParameters() - Method in class net.sf.cuf.fw2.DialogDescription
Return the parameters or null if there are none.
getProperties() - Method in interface net.sf.cuf.fw.Application
Get all properties of the application.
getProperty(String, String) - Method in interface net.sf.cuf.fw.Application
Get a user property of the application, always returns a non-null string if pDefault is not null.
getResult() - Method in class net.sf.cuf.fw2.CloseDialogEvent
Return the result of a close.
getResult() - Method in class net.sf.cuf.xfer.DefaultResponse
 
getResult() - Method in interface net.sf.cuf.xfer.Response
Returns the result for this response.
getStatusText() - Method in class net.sf.cuf.fw2.ShowStatusEvent
Returns our status text.
getTarget() - Method in class net.sf.cuf.appevent.BindEvent
Returns the target for the binding.
getTarget() - Method in class net.sf.cuf.appevent.UnbindEvent
Returns the target for the binding.
getTargetMethod() - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
getTargetMethod() - Method in interface net.sf.cuf.xfer.DispatchTarget
Returns the method for the target object.
getTargetObject() - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
getTargetObject() - Method in interface net.sf.cuf.xfer.DispatchTarget
Returns the target object.
getToolBarButtons() - Method in class net.sf.cuf.fw2.MenuToolBarEvent
Return the toolbar buttons.
getTriggerClass() - Method in class net.sf.cuf.appevent.BindEvent
Returns the AppEvent derived class that the target is interested in.
getTriggerClass() - Method in class net.sf.cuf.appevent.UnbindEvent
Returns the AppEvent derived class that the target is interested in.
getVisualPresentation() - Method in interface net.sf.cuf.fw2.DialogDc
Called from the dialog coordinater in the initialized, active or passive state to get the visual representation for this dialog.
getVisualPresentation() - Method in interface net.sf.cuf.fw2.DialogPc
Called from the DialogDc peer in the initialized, active or passive state to get the visual representation for this dialog.
getWasClosed() - Method in class net.sf.cuf.fw2.CloseDialogEvent
Was the dialog really closed by this event?

H

handleContactFromOtherInstance(Serializable) - Method in interface net.sf.cuf.singleapp.ContactHandler
This method is called when another application instance is started and contacts this instance.
hasDialogId() - Method in class net.sf.cuf.fw2.CloseDialogEvent
Checks if the close event contains a dialog id and not a Dc object.
hasDialogId() - Method in class net.sf.cuf.fw2.OpenDialogEvent
Checks if the open event contains a dialog id and not a Dc object.
hashCode() - Method in class net.sf.cuf.xfer.AbstractRequest
 
hashCode() - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
hashCode() - Method in class net.sf.cuf.xfer.DefaultResponse
 

I

init(Dc, Map<String, ? super Object>) - Method in interface net.sf.cuf.fw.Dc
This method is called by the parent dialog controller during the initialisation phase of an application.
init(Dc, Map<String, ? super Object>) - Method in interface net.sf.cuf.fw.Pc
This method is called by the dialog controller peer during the initialisation phase of an application.
init(Dc, Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractAppDc
This method is called by the Application during the initialisation phase of an application.
init(Dc, Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractDialogDc
This method is called by the parent dialog controller during the initialisation phase of an application.
init(Dc, Map<String, ? super Object>) - Method in class net.sf.cuf.fw2.AbstractDialogPc
This method is called by the dialog controller peer during the initialisation phase of an application.
initDialogs(Map<String, DialogDescription>, Application, Dc, Map<String, ? super Object>) - Static method in class net.sf.cuf.fw2.DialogDescription
Initialize the Dc's for a map of dialog descriptions.
isBlock() - Method in class net.sf.cuf.fw2.BlockEvent
Returns true if the event is sent to block the GUI, false if the GUI should be unblocked.
isBound(AppEvent) - Method in class net.sf.cuf.appevent.AppEventManager
Small helper method to check if a given Event-class is bound.
isComplete() - Method in class net.sf.cuf.fw2.DialogDescription
Returns true if we have a id and class
isConsumed() - Method in class net.sf.cuf.appevent.AppEvent
Returns of this event was consumed, may be used e.g. to stop propagation of the event.
isDelete() - Method in class net.sf.cuf.fw2.MenuToolBarEvent
Check if this event adds or removes stuff.
isDispose() - Method in class net.sf.cuf.fw2.CloseDialogEvent
Returns if the dialog should be disposed after de-activating.
isServerMode() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
 
isServerStopped() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
 
isValid() - Method in class net.sf.cuf.xfer.DefaultResponse
 
isValid() - Method in interface net.sf.cuf.xfer.Response
Checks if this Response contains a valid result.

L

loadKnownDialogs(String) - Static method in class net.sf.cuf.fw2.DialogDescription
Load known dialogs from a properties file.
LOGIN_INFORMATION_KEY - Static variable in interface net.sf.cuf.fw2.DialogApplication
Key for the user object in the argument map passed to the init method of the Dc and Pc interfaces.

M

mAppEventManger - Variable in class net.sf.cuf.fw2.AbstractAppDc
Our app event manager.
mAppEventSupport - Variable in class net.sf.cuf.fw2.AbstractAppDc
The next object in the AppEvent responder chain.
mAppEventSupport - Variable in class net.sf.cuf.fw2.AbstractDialogDc
The next object in the AppEvent responder chain.
mAppEventSupport - Variable in class net.sf.cuf.fw2.AbstractDialogPc
The next object in the AppEvent responder chain.
mDialogManager - Variable in class net.sf.cuf.fw2.AbstractAppDc
The manager object that opens/closes dialogs.
mDialogManager - Variable in class net.sf.cuf.fw2.AbstractDialogDc
The manager object that opens/closes dialogs.
MenuToolBarEvent - Class in net.sf.cuf.fw2
A MenuToolBaarEvent can be used by a DialogPc to change the Menu/Toolbar.
MenuToolBarEvent(Object, List<Component>, Map<String, Object>, Map<String, Integer>, boolean) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons and menus to add/delete.
MenuToolBarEvent(Object) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with no menu/toolbar to add.
MenuToolBarEvent(Object, List<Component>) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons to add.
MenuToolBarEvent(Object, List<Component>, boolean) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons to add/delete.
MenuToolBarEvent(Object, Map<String, Object>) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with menus to add.
MenuToolBarEvent(Object, Map<String, Object>, Map<String, Integer>) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with menus to add.
MenuToolBarEvent(Object, Map<String, Object>, Map<String, Integer>, boolean) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with menus to add.
MenuToolBarEvent(Object, Map<String, Object>, boolean) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with menus to add/delete.
MenuToolBarEvent(Object, List<Component>, Map<String, Object>) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons and menus to add.
MenuToolBarEvent(Object, List<Component>, Map<String, Object>, boolean) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons and menus to add/delete.
MenuToolBarEvent(Object, List<Component>, Map<String, Object>, Map<String, Integer>) - Constructor for class net.sf.cuf.fw2.MenuToolBarEvent
Create a non-consumed event with toolbar buttons and menus to add.

N

net.sf.cuf.appevent - package net.sf.cuf.appevent
The AppEvent library provides the anonym sending and receiving of events.
net.sf.cuf.fw - package net.sf.cuf.fw
This package holds a very light weight framework for structuring Java Swing or JavaFX applications.
net.sf.cuf.fw2 - package net.sf.cuf.fw2
This package contains a "medium" sized framework for structuring a Java Swing or JavaFX client, and is based on the interfaces in the net.sf.cuf.fw package.
net.sf.cuf.singleapp - package net.sf.cuf.singleapp
The StartupSocketCommunicatorallows java applications to do simple socket communication upon startup.
net.sf.cuf.xfer - package net.sf.cuf.xfer
The data transfer ("xfer") library is the base for a synchronos or asynchronos access of the business core.

O

openDialog(OpenDialogEvent) - Method in class net.sf.cuf.fw2.DialogManager
Open a new dialog.
openDialog(OpenDialogEvent, Dc) - Method in class net.sf.cuf.fw2.DialogManager
Open a new dialog.
OpenDialogEvent - Class in net.sf.cuf.fw2
A OpenDialogEvent signals that a dialog should be opend.
OpenDialogEvent(Object, String) - Constructor for class net.sf.cuf.fw2.OpenDialogEvent
Create a new open dialog event.
OpenDialogEvent(Object, String, Map<String, Object>) - Constructor for class net.sf.cuf.fw2.OpenDialogEvent
Create a new open dialog event.
OpenDialogEvent(Object, Dc) - Constructor for class net.sf.cuf.fw2.OpenDialogEvent
Create a new open dialog event.
OpenDialogEvent(Object, Dc, Map<String, Object>) - Constructor for class net.sf.cuf.fw2.OpenDialogEvent
Create a new open dialog event.

P

Pc - Interface in net.sf.cuf.fw
This interface describes all methods common to presentation component.
postAppEvent(AppEvent) - Method in class net.sf.cuf.appevent.AppEventManager
The method handles first BindEvent/UnbindEvent objects, and dispatches all other objects to registered targets.
postAppEvent(AppEvent) - Method in interface net.sf.cuf.appevent.AppEventSupport
Process/Dispatch an AppEvent.
postAppEvent(AppEventSupport, AppEvent) - Static method in class net.sf.cuf.appevent.AppEventUtil
Helper method to process an AppEvent.
postAppEvent(AppEvent) - Method in class net.sf.cuf.fw2.AbstractAppDc
Process/Dispatch an AppEvent.
postAppEvent(AppEvent) - Method in class net.sf.cuf.fw2.AbstractDialogDc
Process/Dispatch an AppEvent.
postAppEvent(AppEvent) - Method in class net.sf.cuf.fw2.AbstractDialogPc
Process/Dispatch an AppEvent.
postAppEvent(Dc, AppEventSupport, AppEvent) - Method in class net.sf.cuf.fw2.DialogManager
Filter for an AppEvent hierarchy: if a OpenDialogEvent or an CloseDialogEvent is posted, we try to handle it.

R

read(String, String, String) - Static method in class net.sf.cuf.fw2.UserProperties
Read user properties out of a file in users home-directory.
Request - Interface in net.sf.cuf.xfer
The Request interface encapsulates all information needed for generating and dispatching a response for a request.
RequestDelegate - Interface in net.sf.cuf.xfer
The RequestDelegate interface describes a helper for the request dispatching.
Response - Interface in net.sf.cuf.xfer
The Response interface encapsulates the result of a request.
run() - Method in class net.sf.cuf.xfer.AbstractDispatcher.DispatchRunnable
 

S

setCallback(DialogManager.DialogCallback) - Method in class net.sf.cuf.fw2.DialogManager
Set the callback target for dialog callbacks.
setDc(Dc) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog for this description
setDialogClass(Class<? extends Dc>) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog class
setDialogClassName(String) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog class name.
setDialogIcon(String) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog icon name.
setDialogId(String) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog id.
setDialogName(String) - Method in class net.sf.cuf.fw2.DialogDescription
Set the dialog name.
setDialogResults(Map<String, Object>) - Method in class net.sf.cuf.fw2.OpenDialogEvent
Set the results of the open, this should be used called after opening a model dialog.
setDispatchTarget(DispatchTarget) - Method in class net.sf.cuf.xfer.AbstractRequest
Sets our dispatch target.
setDispatchTarget(Object, String) - Method in class net.sf.cuf.xfer.AbstractRequest
Sets our dispatch target.
setDispatchTarget(DispatchTarget) - Method in interface net.sf.cuf.xfer.Request
Sets our dispatch target.
setDispatchTarget(Object, String) - Method in interface net.sf.cuf.xfer.Request
Sets our dispatch target.
setError(Object) - Method in class net.sf.cuf.xfer.DefaultResponse
 
setError(Object) - Method in interface net.sf.cuf.xfer.Response
Sets the error for this response and marks the response as invalid.
setKnownDialogs(Map<String, DialogDescription>) - Method in class net.sf.cuf.fw2.DialogManager
Sets the known dialogs of this DialogManager.
setParameters(Map<String, Object>) - Method in class net.sf.cuf.fw2.DialogDescription
Set the parameters.
setProperty(String, String) - Method in interface net.sf.cuf.fw.Application
Set a user property.
setResult(Map<String, Object>) - Method in class net.sf.cuf.fw2.CloseDialogEvent
Set the result of a close.
setResult(Object) - Method in class net.sf.cuf.xfer.DefaultResponse
 
setResult(Object) - Method in interface net.sf.cuf.xfer.Response
Sets the result for this response and marks the response as valid.
setTarget(Object, String) - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
setTarget(Object, String) - Method in interface net.sf.cuf.xfer.DispatchTarget
Set the target and the target method.
setWasClosed(boolean) - Method in class net.sf.cuf.fw2.CloseDialogEvent
Set the flag if the dialog was really closed.
ShowStatusEvent - Class in net.sf.cuf.fw2
A ShowStatusEvent can be used by any Dc/Pc to change the status bar of an application.
ShowStatusEvent(Object) - Constructor for class net.sf.cuf.fw2.ShowStatusEvent
Create a non-consumed event with an empty string.
ShowStatusEvent(Object, String) - Constructor for class net.sf.cuf.fw2.ShowStatusEvent
Create a non-consumed event.
SimpleLifeCycle - Interface in net.sf.cuf.fw2
The SimpleLifeCycle interface describes a part of a more complex lifecycle, and is used to encapsulate the common life cycle of AppDc and DialogDc.
StartupSocketCommunicator - Class in net.sf.cuf.singleapp
This class allows a simple, one time socket communication between instances of the same application.
StartupSocketCommunicator(String, int, ContactHandler, Serializable) - Constructor for class net.sf.cuf.singleapp.StartupSocketCommunicator
Initiates the communication for this application instance.
stopServer() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
stops the server and frees the port.
syncDispatch(Request) - Method in class net.sf.cuf.xfer.AbstractDispatcher
Generate a response and and dispatch it in the current thread.
syncDispatch(Request) - Method in interface net.sf.cuf.xfer.Dispatch
Generate a response and and dispatch it in the current thread.
syncExecute(Request) - Method in class net.sf.cuf.xfer.AbstractDispatcher
Generate a response (includes delegate handling) but doesn't dispatch the response.
syncExecute(Request) - Method in interface net.sf.cuf.xfer.Dispatch
Generate a response (includes delegate handling) but doesn't dispatch the response.

T

toString() - Method in class net.sf.cuf.appevent.AppEvent
Returns a String representation of this EventObject.
toString() - Method in class net.sf.cuf.xfer.AbstractRequest
Returns a String representation of this AbstractRequest.
toString() - Method in class net.sf.cuf.xfer.DefaultDispatchTarget
 
toString() - Method in class net.sf.cuf.xfer.DefaultResponse
 

U

UnbindEvent - Class in net.sf.cuf.appevent
A UnbindEvent can be used to remove the binding that was established with a BindEvent.
UnbindEvent(Object, Class<? extends AppEvent>) - Constructor for class net.sf.cuf.appevent.UnbindEvent
The constructor creates a UnbindEvent with the handed values.
UserProperties - Class in net.sf.cuf.fw2
Utility for reading and writing properties to users home directory.

W

waitServerStopped() - Method in class net.sf.cuf.singleapp.StartupSocketCommunicator
stops the server, frees the port and waits until that happens.
wasCancelled() - Method in class net.sf.cuf.xfer.DefaultResponse
 
wasCancelled() - Method in interface net.sf.cuf.xfer.Response
Checks if this Response was cancelled.
write(Properties, String, String) - Static method in class net.sf.cuf.fw2.UserProperties
Write user properties into a file in users home-directory.
A B C D E F G H I L M N O P R S T U W 

Copyright © 2014 Jürgen Zeller (privat). All rights reserved.