Class PageFormatProperty

  • All Implemented Interfaces:
    PropertyVisitorAcceptor, java.lang.Cloneable

    @OpenApiAll
    public class PageFormatProperty
    extends Property
    The property for storing java.awt.print.PageFormat value. Current implementation does not provide some editor for this value.
    See Also:
    PageFormat
    • Constructor Detail

      • PageFormatProperty

        public PageFormatProperty()
        Default constructor. Value of the property will be null. ID will be empty string.
      • PageFormatProperty

        public PageFormatProperty​(java.lang.String id,
                                  java.awt.print.PageFormat value)
        The property constructor.
        Parameters:
        id - the ID of property.
        value - the PageFormat value of the property.
    • Method Detail

      • getPageFormat

        public java.awt.print.PageFormat getPageFormat()
        Returns value as PageFormat.
        Returns:
        value as PageFormat.
      • clone

        public PageFormatProperty clone()
        Description copied from class: Property
        Clones the property. Clone is not deep, the clone will have the same instance of value. The clone will not have registered PropertyChangeListeners.
        Overrides:
        clone in class Property
        Returns:
        the cloned property.