Class AbstractCustomizationControl<S extends ThemeSkin>

java.lang.Object
com._1c.g5.lwt.AbstractLightControl
com._1c.g5.v8.dt.form.internal.presentation.controls.AbstractViewControl<S>
com._1c.g5.v8.dt.form.presentation.controls.base.AbstractCustomizationControl<S>
All Implemented Interfaces:
ILightControl, IReadOnlyControl, IViewControl<S>
Direct Known Subclasses:
ButtonControlBase, ChartViewControl, DocumentControl, FormattedTextLabelControl, GeographicalSchemaViewControl, ImageFieldControl, LabelControl, ProgressBarControl, RectangleControl, SliderControl, SplitterControl, SpreadsheetDocumentControl, TableColumnViewControl, TextDocControl, TumblerControl, ViewStatusControl

public abstract class AbstractCustomizationControl<S extends ThemeSkin> extends AbstractViewControl<S>
The control for elements that may have color or font customizations.
  • Constructor Details

    • AbstractCustomizationControl

      public AbstractCustomizationControl()
  • Method Details

    • dispose

      public void dispose()
      Specified by:
      dispose in interface ILightControl
      Overrides:
      dispose in class AbstractLightControl
    • getColor

      public org.eclipse.swt.graphics.Color getColor(PresentationColor color)
      Gets SWT color alternative for PresentationColor
      Parameters:
      color - to get alternative for, can be null
      Returns:
      alternative Color, can be null
    • getColor

      protected org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB color)
    • getFont

      protected org.eclipse.swt.graphics.Font getFont(PresentationFont font)
    • getScaledFont

      protected org.eclipse.swt.graphics.Font getScaledFont(PresentationFont font)