Class SetOCGStateActionType


  • public class SetOCGStateActionType
    extends ActionEventType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">setLayerState switches the visibility of the selected document layers to the desired value.</p>
     

    Java class for SetOCGStateActionType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="SetOCGStateActionType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}ActionEventType">
           <choice maxOccurs="unbounded">
             <element name="layerState">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice maxOccurs="unbounded">
                       <element name="referencedLayer" type="{http://schema.webpdf.de/1.0/operation}OCGSelectionType"/>
                     </choice>
                     <attribute name="state" type="{http://schema.webpdf.de/1.0/operation}OCGStateType" default="ON" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </choice>
           <attribute name="preserveRadioButtonRelation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • SetOCGStateActionType

        public SetOCGStateActionType()
    • Method Detail

      • getLayerState

        public List<SetOCGStateActionType.LayerState> getLayerState()
        Gets the value of the layerState property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the layerState property.

        For example, to add a new item, do as follows:

            getLayerState().add(newItem);
         

        Objects of the following type(s) are allowed in the list SetOCGStateActionType.LayerState

        Returns:
        The value of the layerState property.
      • isSetLayerState

        public boolean isSetLayerState()
      • unsetLayerState

        public void unsetLayerState()
      • isPreserveRadioButtonRelation

        public boolean isPreserveRadioButtonRelation()
        Gets the value of the preserveRadioButtonRelation property.
        Returns:
        possible object is Boolean
      • setPreserveRadioButtonRelation

        public void setPreserveRadioButtonRelation​(boolean value)
        Sets the value of the preserveRadioButtonRelation property.
        Parameters:
        value - allowed object is Boolean
      • isSetPreserveRadioButtonRelation

        public boolean isSetPreserveRadioButtonRelation()
      • unsetPreserveRadioButtonRelation

        public void unsetPreserveRadioButtonRelation()