Documentation of 'org.freehep.util.io.ActionSet' Java class
ActionSet
org.freehep.util.io

Class ActionSet



  • public class ActionSet
    extends java.lang.Object
    Class to keep registered Actions, which should be used by the TaggedIn/OutputStream. A set of recognized Actions can be added to this class. A concrete implementation of this stream should install all allowed actions.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ActionSet()
      Creates an set for actions
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addAction(Action action)
      Adds an action to the set
      boolean exists(int actionCode)
      Looks if an Action for code is in this set.
      Action get(int actionCode)
      Looks up the corresponding action for an action code.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActionSet

        public ActionSet()
        Creates an set for actions
    • Method Detail

      • addAction

        public void addAction(Action action)
        Adds an action to the set
        Parameters:
        action - to be added
      • get

        public Action get(int actionCode)
        Looks up the corresponding action for an action code.
        Parameters:
        actionCode - code to be looked for
        Returns:
        corresponding action, or Action.Unknown in case Action is not found.
      • exists

        public boolean exists(int actionCode)
        Looks if an Action for code is in this set.
        Parameters:
        actionCode - code to be looked for
        Returns:
        true if action exists for code

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.