Class MetaController

    • Constructor Detail

      • MetaController

        public MetaController()
    • Method Detail

      • addMetaControllerElement

        public void addMetaControllerElement​(MetaControllerElement controllerElement)
      • getMetaControllerElements

        public java.util.Collection<MetaControllerElement> getMetaControllerElements()
      • getAllMetaControllerElements

        public java.util.Collection<MetaControllerElement> getAllMetaControllerElements()
      • getClassName

        public java.lang.String getClassName()
        Only for spanish/swing version
      • setClassName

        public void setClassName​(java.lang.String className)
        Only for spanish/swing version
      • addMetaSubcontroller

        public void addMetaSubcontroller​(MetaSubcontroller subcontroller)
        Since:
        4.8
      • addMetaAction

        public void addMetaAction​(MetaAction action)
      • addParent

        public void addParent​(java.lang.String parentName,
                              java.lang.String excludedActions)
      • getMetaActions

        public java.util.Collection getMetaActions()
        Returns:
        Not null, of type MetaAction and read only.
      • getMetaSubcontrollers

        public java.util.Collection<MetaSubcontroller> getMetaSubcontrollers()
        Since:
        4.8
      • containsMetaAction

        public boolean containsMetaAction​(java.lang.String actionName)
      • getAllMetaActions

        public java.util.Collection getAllMetaActions()
                                               throws XavaException
        The MetaActions of this controller and all its parents.

        Throws:
        XavaException
      • getAllNotHiddenMetaActions

        public java.util.Collection getAllNotHiddenMetaActions()
                                                        throws XavaException
        The not hidden MetaActions of this controller and all its parents.

        Throws:
        XavaException
      • getAllNotHiddenMetaActionsRecursive

        public java.util.Collection getAllNotHiddenMetaActionsRecursive()
                                                                 throws XavaException
        The not hidden MetaActions of this controller and all its parents and subcontrollers recursively.

        Throws:
        XavaException
        Since:
        5.5.1
      • getId

        public java.lang.String getId()
        Description copied from class: MetaElement
        Unique id of element, normally used to search the label in the resources files.
        Specified by:
        getId in class MetaElement
      • getMetaActionsOnInit

        public java.util.Collection getMetaActionsOnInit()
                                                  throws XavaException
        Actions from father and subcontrollers are included.
        Throws:
        XavaException
      • hasParents

        public boolean hasParents()
      • getMetaActionsOnEachRequest

        public java.util.Collection getMetaActionsOnEachRequest()
                                                         throws XavaException
        Actions from father and subcontrollers are included.
        Throws:
        XavaException
      • getMetaActionsAfterEachRequest

        public java.util.Collection getMetaActionsAfterEachRequest()
                                                            throws XavaException
        Actions from father and subcontrollers are included.
        Throws:
        XavaException
      • getMetaActionsBeforeEachRequest

        public java.util.Collection getMetaActionsBeforeEachRequest()
                                                             throws XavaException
        Actions from father and subcontrollers are included.
        Throws:
        XavaException
      • getIcon

        public java.lang.String getIcon()
      • setIcon

        public void setIcon​(java.lang.String icon)
      • getImage

        public java.lang.String getImage()
      • setImage

        public void setImage​(java.lang.String image)