GLG Toolkit, Java Class Library  Version 4.6
GlgObjectActionInterfaceExt

Extended custom action interface. More...

Detailed Description

Extended custom action interface.

This object is used as a parameter of the TraverseObjects method and provides a custom action to be performed on each object in a collection of objects.

It extends GlgObjectActionInterface by providing an additional ActionExt method which is invoked after traversing all subobjects of the object.

Inherits GlgObjectActionInterface.

Public Member Functions

boolean Action (GlgObject object)
 This method is invoked on each traversed object and provides a custom "enter" action to be performed on the object before traversing its subobjects. More...
 
boolean ActionExt (GlgObject object)
 This method is invoked on each traversed object and provides a custom "exit" action to be performed on the object after traversing its subobjects. More...
 

Member Function Documentation

◆ Action()

boolean Action ( GlgObject  object)

This method is invoked on each traversed object and provides a custom "enter" action to be performed on the object before traversing its subobjects.

Parameters
objectThe object being entered.
Returns
true to indicate that the object matches, or false otherwise.

Implements GlgObjectActionInterface.

◆ ActionExt()

boolean ActionExt ( GlgObject  object)

This method is invoked on each traversed object and provides a custom "exit" action to be performed on the object after traversing its subobjects.

Parameters
objectThe object being exited.
Returns
Reserved for future use, must return true.