org.xulux.api.gui
Interface IXuluxListener


public interface IXuluxListener


Method Summary
 boolean accepted(IWidget widget)
          If a value is "accepted" (eg entry filled in , button clicked, etc preform this code.
 void completed()
          Should be called when a field is completed
 void completedPart()
          Call this when the part has completed processing.
 IWidget getWidget()
          Returns the widget.
 void processEvent(XuluxEvent event)
          Override this if you want to handle events.
 void setWidget(IWidget widget)
          Sets the widget.
 void started()
          Should be called when a field is entered
 

Method Detail

completed

void completed()
Should be called when a field is completed


completedPart

void completedPart()
Call this when the part has completed processing. It will fire the post rules of the registered part rules


accepted

boolean accepted(IWidget widget)
If a value is "accepted" (eg entry filled in , button clicked, etc preform this code.

Parameters:
widget - the widget to accept
Returns:
true if the accepted went ok, false if not.

started

void started()
Should be called when a field is entered


getWidget

IWidget getWidget()
Returns the widget.

Returns:
Widget

setWidget

void setWidget(IWidget widget)
Sets the widget.

Parameters:
widget - The widget to set

processEvent

void processEvent(XuluxEvent event)
Override this if you want to handle events.

Parameters:
event - the XuluxEvent to process


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.