Class NSControlCharacterAction


  • public final class NSControlCharacterAction
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long ContainerBreak
      Causes container break
      static long HorizontalTab
      Treated as tab character
      static long LineBreak
      Causes line break
      static long ParagraphBreak
      Causes paragraph break; firstLineIndent will be used for the following glyph
      static long Whitespace
      the width for glyphs with this action are determined by -layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex: if the method is implemented; otherwise, same as NSControlCharacterZeroAdvancementAction
      static long ZeroAdvancement
      glyphs with this action are filtered out from layout (notShownAttribute == YES)
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ZeroAdvancement

        public static final long ZeroAdvancement
        glyphs with this action are filtered out from layout (notShownAttribute == YES)
        See Also:
        Constant Field Values
      • Whitespace

        public static final long Whitespace
        the width for glyphs with this action are determined by -layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex: if the method is implemented; otherwise, same as NSControlCharacterZeroAdvancementAction
        See Also:
        Constant Field Values
      • HorizontalTab

        public static final long HorizontalTab
        Treated as tab character
        See Also:
        Constant Field Values
      • ParagraphBreak

        public static final long ParagraphBreak
        Causes paragraph break; firstLineIndent will be used for the following glyph
        See Also:
        Constant Field Values
      • ContainerBreak

        public static final long ContainerBreak
        Causes container break
        See Also:
        Constant Field Values