Class ProposalStyle

java.lang.Object
org.yamcs.studio.autocomplete.proposals.ProposalStyle

public class ProposalStyle extends Object
Used to define a SWT StyleRange on proposal display.
  • Field Details

    • from

      public int from
      Start index.
    • to

      public int to
      End index.
    • fontStyle

      public int fontStyle
      SWT Font style
    • fontColor

      public int fontColor
      SWT Color constant.
  • Constructor Details

    • ProposalStyle

      public ProposalStyle(int from, int to, int fontStyle, int fontColor)
    • ProposalStyle

      public ProposalStyle(ProposalStyle ps)
  • Method Details

    • getDefault

      public static ProposalStyle getDefault(int from, int to)
    • getError

      public static ProposalStyle getError(int from, int to)
    • getItalic

      public static ProposalStyle getItalic(int from, int to)