Class CTLuminanceEffect

java.lang.Object
org.docx4j.dml.CTLuminanceEffect
All Implemented Interfaces:
Child

public class CTLuminanceEffect extends Object implements Child

Java class for CT_LuminanceEffect complex type.

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

 <complexType name="CT_LuminanceEffect">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="bright" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" default="0" />
       <attribute name="contrast" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • bright

      protected Integer bright
    • contrast

      protected Integer contrast
  • Constructor Details

    • CTLuminanceEffect

      public CTLuminanceEffect()
  • Method Details

    • getBright

      public int getBright()
      Gets the value of the bright property.
      Returns:
      possible object is Integer
    • setBright

      public void setBright(Integer value)
      Sets the value of the bright property.
      Parameters:
      value - allowed object is Integer
    • getContrast

      public int getContrast()
      Gets the value of the contrast property.
      Returns:
      possible object is Integer
    • setContrast

      public void setContrast(Integer value)
      Sets the value of the contrast property.
      Parameters:
      value - allowed object is Integer
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.