Package com._1c.g5.lwt.controls
Class LightControlDecoration
- java.lang.Object
-
- com._1c.g5.lwt.controls.LightControlDecoration
-
public class LightControlDecoration extends Object
Light control decoration – a simplified version ofControlDecoration
.
-
-
Constructor Summary
Constructors Constructor Description LightControlDecoration(ILightControl control)
Instantiates a new light control decoration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
hide()
Hides this decoration.void
setImage(org.eclipse.swt.graphics.Image image)
Sets the image.void
setTooltip(String tooltip)
Sets the tooltip.void
show()
Shows this decoration.
-
-
-
Constructor Detail
-
LightControlDecoration
public LightControlDecoration(ILightControl control)
Instantiates a new light control decoration.- Parameters:
control
- the control to decorate.
-
-
Method Detail
-
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
Sets the image.- Parameters:
image
- the new image.
-
setTooltip
public void setTooltip(String tooltip)
Sets the tooltip.- Parameters:
tooltip
- the new tooltip.
-
show
public void show()
Shows this decoration.
-
hide
public void hide()
Hides this decoration.
-
-