Class AbstractTextLayout

    • Constructor Detail

      • AbstractTextLayout

        protected AbstractTextLayout​(MultilineLabel label)
    • Method Detail

      • getTextPreferredHeight

        protected static int getTextPreferredHeight​(int lineCount,
                                                    FontMetrics fm,
                                                    float lineSpacing)
      • drawStringInDisabledStyle

        protected static void drawStringInDisabledStyle​(JComponent c,
                                                        String str,
                                                        Graphics g,
                                                        Color color,
                                                        int x,
                                                        int y)
        Draws text in a style of disabled component text at Graphics context from the point (x,y). Uses color as a base.