AR System Java API

com.bmc.arsys.api
Class CloseWindowAction

java.lang.Object
  extended by com.bmc.arsys.api.Action
      extended by com.bmc.arsys.api.CloseWindowAction
All Implemented Interfaces:
ActiveLinkAction, Serializable, Cloneable

public class CloseWindowAction
extends Action
implements ActiveLinkAction, Cloneable, Serializable

The CloseWindowAction class is used to create and retrieve information about the Close Window active link action.

See Also:
Serialized Form

Constructor Summary
CloseWindowAction()
          constructor
CloseWindowAction(boolean closeAll)
          closeAll parameter sets the flag that indicates whether all the windows should be closed or not.
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(Object anObject)
          Use this method for checking equality between the current object and the provided one.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 boolean isCloseAll()
          Retrieves the flag that indicates whether all the windows should be closed or not.
 void setCloseAll(boolean closeAll)
          Sets the flag that indicates whether all the windows should be closed or not.
 
Methods inherited from class com.bmc.arsys.api.Action
equals, getActionType, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloseWindowAction

public CloseWindowAction()
constructor


CloseWindowAction

public CloseWindowAction(boolean closeAll)
closeAll parameter sets the flag that indicates whether all the windows should be closed or not.

Method Detail

isCloseAll

public boolean isCloseAll()
Retrieves the flag that indicates whether all the windows should be closed or not.


setCloseAll

public void setCloseAll(boolean closeAll)
Sets the flag that indicates whether all the windows should be closed or not.


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Overrides:
clone in class Action
Throws:
CloneNotSupportedException

equals

public boolean equals(Object anObject)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Action
Parameters:
anObject - the object that we are comparing to
Returns:
a boolean that tells if the two objects equal

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Action
Returns:
returns the hash code for this instance

AR System Java API

? Copyright 2006, 2007 BMC Software, Inc.