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

Class Overflow

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


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

    Represents a "overflow" declaration, which specifies whether to clip content, render scrollbars, or display overflowing content when it is too large for its block-level container.


    https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
    • Constructor Summary

      Constructors 
      Constructor and Description
      Overflow() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Object clone() 
      Overflow Clone() 
      void CloneTo(Overflow that) 
      boolean equals(com.groupdocs.editor.htmlcss.css.ICssDeclaration other) 
      boolean equals(Object obj) 
      boolean equals(Overflow other) 
      static boolean equals(Overflow obj1, Overflow obj2) 
      int getAnimationType()
      All CSS properties have at least one animation type, which determines, how they can be animated
      boolean getInherited()
      All CSS declarations are divided on inherited or non-inherited, what is represented by this property
      String getProperty()
      In implementing type should return a property name as a string
      String getValue()
      In implementing type should return a value in a default string form, without affecting serialization options
      int hashCode() 
      boolean isDefault()
      In implementing type should define, whether a current value is a default value of a declaration, or not
      boolean isGlobal()
      In implementing type should define, whether a current value is a global value of a declaration (inherit [initial, unset]), or not
      static boolean op_Equality(Overflow first, Overflow second)
      Checks whether two "Overflow" values are equal
      static boolean op_Inequality(Overflow first, Overflow second)
      Checks whether two "Overflow" values are not equal
      String serialize(com.groupdocs.editor.htmlcss.serialization.ISerializationOptions serializationOptions)
      In implementing type returns a serialized representation of an object as a string
      void serialize(com.groupdocs.editor.htmlcss.serialization.ISerializationOptions serializationOptions, com.aspose.ms.System.IO.TextWriter output)
      In implementing type writes a serialized representation of an object to the specified output TextWriter implementation
      static Overflow tryFromKeyword(String keyword)
      Tries to recognize a specified keyword as a proper keyword value of the 'float' and return it on success or NULL on failure.
    • Field Detail

      • Auto

        public static final Overflow Auto

        Depends on the user agent.

      • Hidden

        public static final Overflow Hidden

        The content is clipped and no scrollbars are provided.

      • Inherit

        public static final Overflow Inherit
      • Initial

        public static final Overflow Initial
      • Scroll

        public static final Overflow Scroll

        The content is clipped and browsers use scrollbars, whether or not any content is clipped.

      • Unset

        public static final Overflow Unset
      • Visible

        public static final Overflow Visible

        Content is not clipped, it may be rendered outside the content box. Default value.

    • Constructor Detail

      • Overflow

        public Overflow()
    • Method Detail

      • Clone

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

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

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

        public final boolean equals(Overflow 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
      • 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
      • 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
      • op_Equality

        public static boolean op_Equality(Overflow first,
                          Overflow second)

        Checks whether two "Overflow" values are equal

        Parameters:
        first -
        second -
        Returns:
      • op_Inequality

        public static boolean op_Inequality(Overflow first,
                            Overflow second)

        Checks whether two "Overflow" 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 Overflow tryFromKeyword(String keyword)

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

        Parameters:
        keyword -