Class SinkEventAttributeSet

    • Field Detail

      • UNDERLINE

        public static final SinkEventAttributes UNDERLINE
        An unmodifiable attribute set containing only an underline attribute.
      • OVERLINE

        public static final SinkEventAttributes OVERLINE
        An unmodifiable attribute set containing only an overline attribute.
      • LINETHROUGH

        public static final SinkEventAttributes LINETHROUGH
        An unmodifiable attribute set containing only a linethrough attribute.
      • BOXED

        public static final SinkEventAttributes BOXED
        An unmodifiable attribute set containing only a boxed attribute.
      • BOLD

        public static final SinkEventAttributes BOLD
        An unmodifiable attribute set containing only a bold attribute.
      • ITALIC

        public static final SinkEventAttributes ITALIC
        An unmodifiable attribute set containing only an italic attribute.
      • MONOSPACED

        public static final SinkEventAttributes MONOSPACED
        An unmodifiable attribute set containing only a monospaced attribute.
      • LEFT

        public static final SinkEventAttributes LEFT
        An unmodifiable attribute set containing only a left attribute.
      • RIGHT

        public static final SinkEventAttributes RIGHT
        An unmodifiable attribute set containing only a right attribute.
      • CENTER

        public static final SinkEventAttributes CENTER
        An unmodifiable attribute set containing only a center attribute.
      • JUSTIFY

        public static final SinkEventAttributes JUSTIFY
        An unmodifiable attribute set containing only a justify attribute.
    • Constructor Detail

      • SinkEventAttributeSet

        public SinkEventAttributeSet()
        Constructs a new, empty SinkEventAttributeSet with default size 5.
      • SinkEventAttributeSet

        public SinkEventAttributeSet​(int size)
        Constructs a new, empty SinkEventAttributeSet with the specified initial size.
        Parameters:
        size - the initial number of attribs.
      • SinkEventAttributeSet

        public SinkEventAttributeSet​(String... attributes)
        Constructs a new SinkEventAttributeSet with the attribute name-value mappings as given by the specified String array.
        Parameters:
        attributes - the specified String array. If the length of this array is not an even number, an IllegalArgumentException is thrown.
      • SinkEventAttributeSet

        public SinkEventAttributeSet​(AttributeSet attributes)
        Constructs a new SinkEventAttributeSet with the same attribute name-value mappings as in the specified AttributeSet.
        Parameters:
        attributes - the specified AttributeSet.