com.groupdocs.editor.htmlcss.css.specificdeclarations.flow

Class Display

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<Display>
        • com.groupdocs.editor.htmlcss.css.specificdeclarations.flow.Display
  • All Implemented Interfaces:
    com.groupdocs.editor.htmlcss.css.ICssDeclaration, com.groupdocs.editor.htmlcss.serialization.ISerializable


    public class Display
    extends com.aspose.ms.lang.Struct<Display>
    implements com.groupdocs.editor.htmlcss.css.ICssDeclaration

    Represents a "display" CSS declaration, which specifies the type of rendering box used for an element.


    https://developer.mozilla.org/en-US/docs/Web/CSS/display
    • Field Detail

      • Block

        public static final Display Block

        The element generates a block element box.

      • Flex

        public static final Display Flex
      • Inherit

        public static final Display Inherit
      • Initial

        public static final Display Initial
      • Inline

        public static final Display Inline

        The element generates one or more 'inline' element boxes. Default value.

      • InlineBlock

        public static final Display InlineBlock

        The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would)

      • InlineFlex

        public static final Display InlineFlex
      • InlineTable

        public static final Display InlineTable
      • ListItem

        public static final Display ListItem

        The element generates a block box for the content and a separate list-item inline box.

      • None

        public static final Display None

        Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off. The document is rendered as though the element did not exist.

      • Table

        public static final Display Table
      • TableCaption

        public static final Display TableCaption
      • TableCell

        public static final Display TableCell
      • TableColumn

        public static final Display TableColumn
      • TableColumnGroup

        public static final Display TableColumnGroup
      • TableFooterGroup

        public static final Display TableFooterGroup
      • TableHeaderGroup

        public static final Display TableHeaderGroup
      • TableRow

        public static final Display TableRow
      • TableRowGroup

        public static final Display TableRowGroup
      • Unset

        public static final Display Unset
    • Constructor Detail

      • Display

        public Display()
    • Method Detail

      • Clone

        public Display Clone()
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<Display>
      • CloneTo

        public void CloneTo(Display that)
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<Display>
      • equals

        public final boolean equals(Display other)
      • equals

        public final boolean equals(com.groupdocs.editor.htmlcss.css.ICssDeclaration other)
      • getAnimationType

        public final int getAnimationType()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        All CSS properties have at least one animation type, which determines, how they can be animated

        Specified by:
        getAnimationType in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • getInherited

        public final boolean getInherited()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        All CSS declarations are divided on inherited or non-inherited, what is represented by this property


        https://developer.mozilla.org/en-US/docs/Web/CSS/inheritance
        Specified by:
        getInherited in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • getProperty

        public final String getProperty()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        In implementing type should return a property name as a string

        Specified by:
        getProperty in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • getValue

        public final String getValue()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        In implementing type should return a value in a default string form, without affecting serialization options

        Specified by:
        getValue in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isBasic

        public final boolean isBasic()

        Basic values (CSS 1)

      • isDefault

        public final boolean isDefault()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        In implementing type should define, whether a current value is a default value of a declaration, or not

        Specified by:
        isDefault in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • isExtended

        public final boolean isExtended()

        Extended values (CSS 2.1)

      • isFlexboxModel

        public final boolean isFlexboxModel()

        Flexbox model values (CSS3)

      • isGlobal

        public final boolean isGlobal()
        Description copied from interface: com.groupdocs.editor.htmlcss.css.ICssDeclaration

        In implementing type should define, whether a current value is a global value of a declaration (inherit [initial, unset]), or not

        Specified by:
        isGlobal in interface com.groupdocs.editor.htmlcss.css.ICssDeclaration
      • isTableModel

        public final boolean isTableModel()

        Table model values (CSS 2.1)

      • op_Equality

        public static boolean op_Equality(Display first,
                          Display second)

        Checks whether two "Display" values are equal

        Parameters:
        first -
        second -
        Returns:
      • op_Inequality

        public static boolean op_Inequality(Display first,
                            Display second)

        Checks whether two "Display" values are not equal

        Parameters:
        first -
        second -
        Returns:
      • serialize

        public final String serialize(com.groupdocs.editor.htmlcss.serialization.ISerializationOptions serializationOptions)
        Description copied from interface: com.groupdocs.editor.htmlcss.serialization.ISerializable

        In implementing type returns a serialized representation of an object as a string

        Specified by:
        serialize in interface com.groupdocs.editor.htmlcss.serialization.ISerializable
        Parameters:
        serializationOptions - Serialization options. Not all properties should be used, but argument should not be null
        Returns:
        Resultant string
      • serialize

        public final void serialize(com.groupdocs.editor.htmlcss.serialization.ISerializationOptions serializationOptions,
                     com.aspose.ms.System.IO.TextWriter output)
        Description copied from interface: com.groupdocs.editor.htmlcss.serialization.ISerializable

        In implementing type writes a serialized representation of an object to the specified output TextWriter implementation

        Specified by:
        serialize in interface com.groupdocs.editor.htmlcss.serialization.ISerializable
        Parameters:
        serializationOptions - Serialization options. Not all properties should be used, but argument should not be null
        output - TextWriter instance, to which resultant text will be written. Should not be null.
      • tryFromKeyword

        public static Display tryFromKeyword(String keyword)

        Tries to recognize a specified keyword as a proper keyword value of the 'display' and return it on success or NULL on failure. Doesn't support global keywords.

        Parameters:
        keyword -
        Returns: