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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()org.eclipse.swt.graphics.ColorgetColor(PresentationColor color) Gets SWT color alternative forPresentationColorprotected org.eclipse.swt.graphics.ColorgetColor(org.eclipse.swt.graphics.RGB color) protected org.eclipse.swt.graphics.FontgetFont(PresentationFont font) protected org.eclipse.swt.graphics.FontMethods inherited from class com._1c.g5.v8.dt.form.internal.presentation.controls.AbstractViewControl
getControlRect, getSkin, getTheme, isSelfReadOnly, setReadOnly, setThemeMethods inherited from class com._1c.g5.lwt.AbstractLightControl
addControlListener, computeSize, getBounds, getCursor, getData, getLayoutData, getOverlay, getParent, getTooltip, getVisibleBounds, handleEvent, invalidate, invalidate, isDisposed, isEnabled, isFocused, isVisible, removeControlListener, setBounds, setCursor, setData, setEnabled, setFocus, setFocusable, setLayoutData, setOverlay, setParent, setTooltip, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.lwt.ILightControl
addControlListener, computeSize, getBounds, getCursor, getData, getLayoutData, getParent, getTooltip, getVisibleBounds, handleEvent, initialize, invalidate, invalidate, isDisposed, isEnabled, isFocused, isVisible, paint, removeControlListener, setBounds, setCursor, setData, setEnabled, setFocus, setLayoutData, setParent, setTooltip, setVisibleMethods inherited from interface com._1c.g5.v8.dt.form.internal.presentation.controls.base.IReadOnlyControl
isReadOnly
-
Constructor Details
-
AbstractCustomizationControl
public AbstractCustomizationControl()
-
-
Method Details
-
dispose
public void dispose()- Specified by:
disposein interfaceILightControl- Overrides:
disposein classAbstractLightControl
-
getColor
Gets SWT color alternative forPresentationColor- Parameters:
color- to get alternative for, can benull- Returns:
- alternative
Color, can benull
-
getColor
protected org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB color) -
getFont
-
getScaledFont
-