IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.xui.view
Class XUIView

java.lang.Object
  extended by com.ibm.btt.rcp.xui.view.XUIView
All Implemented Interfaces:
IXUIErrorManager, IXUIEventSource, IXUIRequiredManager, IXUIView

public class XUIView
extends java.lang.Object
implements IXUIView

Default implementation of IXUIView interface


Constructor Summary
XUIView(IXUIComposite root)
           
 
Method Summary
 void addInError(IXUIErrorSource source)
          Add error source to this manager
 void addRequiredNotFilled(IXUIRequiredSource source)
          Add a required source when this source is required and it is not filled.
 void addXUIEventListener(IXUIEventListener listener)
          Add listener to this source
 void fireXUIEvent(IXUIEventObject object)
          Fire event to listeners
protected  java.lang.String generateRequiredErrMessage(java.util.List<IXUIRequiredSource> requiredNotFilled)
           
 java.util.List<IXUIErrorSource> getErrorSources()
          Get error sources in current view
 IModelAdapter getModel()
          Get model instance of current XUI view
 IXUIComposite getRoot()
          Get root composite for current XUI view
protected  IXUIWidget getXUIControl(IXUIComposite parent, java.lang.String id)
           
 IXUIWidget getXUIWidget(java.lang.String id)
          Get XUI widget in this view by unique ID
 boolean isInError()
          Get if current view is in error
 void refresh()
          Refresh XUI Viewer
 void removeInError(IXUIErrorSource source)
          Remove error source from this manager
 void removeRequiredNotFilled(IXUIRequiredSource source)
          Remove a required source when this source is required and it is not filled.
 void removeXUIEventListener(IXUIEventListener listener)
          Remove listener from this source
 void setInError(boolean value)
          Set if current view is in error
 void setModel(IModelAdapter model)
          Set model instance of current XUI view
 void setRoot(IXUIComposite root)
          Set root composite for current XUI view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XUIView

public XUIView(IXUIComposite root)
Method Detail

getModel

public IModelAdapter getModel()
Description copied from interface: IXUIView
Get model instance of current XUI view

Specified by:
getModel in interface IXUIView
Returns:

setModel

public void setModel(IModelAdapter model)
Description copied from interface: IXUIView
Set model instance of current XUI view

Specified by:
setModel in interface IXUIView

getRoot

public IXUIComposite getRoot()
Description copied from interface: IXUIView
Get root composite for current XUI view

Specified by:
getRoot in interface IXUIView
Returns:

setRoot

public void setRoot(IXUIComposite root)
Description copied from interface: IXUIView
Set root composite for current XUI view

Specified by:
setRoot in interface IXUIView

addXUIEventListener

public void addXUIEventListener(IXUIEventListener listener)
Description copied from interface: IXUIEventSource
Add listener to this source

Specified by:
addXUIEventListener in interface IXUIEventSource

fireXUIEvent

public void fireXUIEvent(IXUIEventObject object)
Description copied from interface: IXUIEventSource
Fire event to listeners

Specified by:
fireXUIEvent in interface IXUIEventSource

removeXUIEventListener

public void removeXUIEventListener(IXUIEventListener listener)
Description copied from interface: IXUIEventSource
Remove listener from this source

Specified by:
removeXUIEventListener in interface IXUIEventSource

isInError

public boolean isInError()
Description copied from interface: IXUIErrorManager
Get if current view is in error

Specified by:
isInError in interface IXUIErrorManager
Returns:

setInError

public void setInError(boolean value)
Description copied from interface: IXUIErrorManager
Set if current view is in error

Specified by:
setInError in interface IXUIErrorManager

getErrorSources

public java.util.List<IXUIErrorSource> getErrorSources()
Description copied from interface: IXUIErrorManager
Get error sources in current view

Specified by:
getErrorSources in interface IXUIErrorManager
Returns:
list of error source

getXUIWidget

public IXUIWidget getXUIWidget(java.lang.String id)
Description copied from interface: IXUIView
Get XUI widget in this view by unique ID

Specified by:
getXUIWidget in interface IXUIView
Returns:

getXUIControl

protected IXUIWidget getXUIControl(IXUIComposite parent,
                                   java.lang.String id)

addInError

public void addInError(IXUIErrorSource source)
Description copied from interface: IXUIErrorManager
Add error source to this manager

Specified by:
addInError in interface IXUIErrorManager

removeInError

public void removeInError(IXUIErrorSource source)
Description copied from interface: IXUIErrorManager
Remove error source from this manager

Specified by:
removeInError in interface IXUIErrorManager

addRequiredNotFilled

public void addRequiredNotFilled(IXUIRequiredSource source)
Description copied from interface: IXUIRequiredManager
Add a required source when this source is required and it is not filled.

Specified by:
addRequiredNotFilled in interface IXUIRequiredManager

generateRequiredErrMessage

protected java.lang.String generateRequiredErrMessage(java.util.List<IXUIRequiredSource> requiredNotFilled)

removeRequiredNotFilled

public void removeRequiredNotFilled(IXUIRequiredSource source)
Description copied from interface: IXUIRequiredManager
Remove a required source when this source is required and it is not filled.

Specified by:
removeRequiredNotFilled in interface IXUIRequiredManager

refresh

public void refresh()
Description copied from interface: IXUIView
Refresh XUI Viewer

Specified by:
refresh in interface IXUIView

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011