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
,com._1c.g5.v8.dt.form.internal.presentation.controls.base.IReadOnlyControl
,com._1c.g5.v8.dt.form.internal.presentation.controls.IViewControl<S>
public abstract class AbstractCustomizationControl<S extends ThemeSkin> extends com._1c.g5.v8.dt.form.internal.presentation.controls.AbstractViewControl<S>
The control for elements that may have color or font customizations.
-
-
Constructor Summary
Constructors Constructor Description AbstractCustomizationControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
org.eclipse.swt.graphics.Color
getColor(PresentationColor color)
Gets SWT color alternative forPresentationColor
protected org.eclipse.swt.graphics.Color
getColor(org.eclipse.swt.graphics.RGB color)
protected org.eclipse.swt.graphics.Font
getFont(PresentationFont font)
protected org.eclipse.swt.graphics.Font
getScaledFont(PresentationFont font)
-
Methods inherited from class com._1c.g5.v8.dt.form.internal.presentation.controls.AbstractViewControl
getControlRect, getSkin, getTheme, isSelfReadOnly, setReadOnly, setTheme
-
Methods 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, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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, setVisible
-
-
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceILightControl
- Overrides:
dispose
in classAbstractLightControl
-
getColor
public org.eclipse.swt.graphics.Color getColor(PresentationColor color)
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
protected org.eclipse.swt.graphics.Font getFont(PresentationFont font)
-
getScaledFont
protected org.eclipse.swt.graphics.Font getScaledFont(PresentationFont font)
-
-