Documentation of 'hep.aida.ref.plotter.BaseStyle' Java class
BaseStyle
hep.aida.ref.plotter

Class BaseStyle

    • Method Detail

      • name

        public java.lang.String name()
        Get the name of this BaseStyle.
        Specified by:
        name in interface IBaseStyle
        Returns:
        The name of the BaseStyle.
      • type

        public java.lang.Class type()
        Specified by:
        type in interface IBaseStyle
        Returns:
        The type of the style.
      • child

        public IBaseStyle child(java.lang.String name)
        Specified by:
        child in interface IBaseStyle
        Returns:
        A sub style, knowing its name.
      • setVisible

        public boolean setVisible(boolean visible)
        Set isVisible of the data.
        Specified by:
        setVisible in interface IBaseStyle
      • isVisible

        public boolean isVisible()
        Get isVisible of the data. return The isVisible of the data.
        Specified by:
        isVisible in interface IBaseStyle
      • setParent

        public void setParent(IBaseStyle style)
        Set the parent for this BaseStyle.
        Parameters:
        style - The parent for this BaseStyle.
      • setParentList

        public void setParentList(java.util.List list)
        First remove current parents (if present), then add new parents from the list. If list == null || list.size() == 0, just remove current parents.
      • removeAllParents

        public void removeAllParents()
        Remove all parents and all the parents' parents
      • removeParent

        public void removeParent(IBaseStyle style)
        This method removes one parent and all its children (recursively). To remove all parents use setParentList(null)
      • addParent

        public void addParent(IBaseStyle style)
      • addParentList

        public void addParentList(java.util.List pl)
      • isMyParent

        public boolean isMyParent(IBaseStyle style)
      • parentList

        public java.util.List parentList()
        Get the parent for this BaseStyle.
        Returns:
        The parent.
      • isParameterSet

        public boolean isParameterSet(java.lang.String parameterName)
      • isParameterSet

        public boolean isParameterSet(java.lang.String parameterName,
                                      boolean recursive)
      • availableParameterOptions

        public java.lang.String[] availableParameterOptions(java.lang.String parameterName)
        Below are the AIDA methods.
        Specified by:
        availableParameterOptions in interface IBaseStyle
      • availableParameters

        public java.lang.String[] availableParameters()
        Description copied from interface: IBaseStyle
        Get list of the available parameters (implementation-dependent)
        Specified by:
        availableParameters in interface IBaseStyle
      • parameterValue

        public java.lang.String parameterValue(java.lang.String parameterName)
        Description copied from interface: IBaseStyle
        Get value of a parameter.
        Specified by:
        parameterValue in interface IBaseStyle
        Returns:
        the value.
      • reset

        public void reset()
        Description copied from interface: IBaseStyle
        Return to original (construction time) state. Explicitly set parameters will be set to defaults and may be overridden
        Specified by:
        reset in interface IBaseStyle
      • setParameter

        public boolean setParameter(java.lang.String parameterName)
        Description copied from interface: IBaseStyle
        Set a parameter.
        Specified by:
        setParameter in interface IBaseStyle
        Parameters:
        parameterName - Name of the parameter.
        Returns:
        false if parameter (or its options) unknown or invalid.
      • setParameter

        public boolean setParameter(java.lang.String parameterName,
                                    java.lang.String parValue)
        Description copied from interface: IBaseStyle
        Set a parameter.
        Specified by:
        setParameter in interface IBaseStyle
        Parameters:
        parameterName - Name of the parameter.
        parValue - string of options.
        Returns:
        false if parameter (or its options) unknown or invalid.
      • setParameter

        public boolean setParameter(java.lang.String parameterName,
                                    java.lang.String parValue,
                                    java.lang.String[] parAllowedValues)
      • setParameterDefault

        public void setParameterDefault(java.lang.String parameterName,
                                        java.lang.String parDefaultValue)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.