Package org.eclipse.jface.dialogs
Class ControlAnimator
java.lang.Object
org.eclipse.jface.dialogs.ControlAnimator
ControlAnimator provides a simple implementation to display or hide a control
at the bottom of the parent composite. Other animations will be written as
subclasses of this class.
Instances of this class can be created using an AnimatorFactory.
- Since:
- 3.2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionControlAnimator
(Control control) Constructs a new ControlAnimator instance and passes along the control that will be displayed or hidden. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setVisible
(boolean visible) Displays or hides a control at the bottom of the parent composite and makes use of the control's SWT visible flag.
-
Field Details
-
control
the control that will be displayed or hidden
-
-
Constructor Details
-
ControlAnimator
Constructs a new ControlAnimator instance and passes along the control that will be displayed or hidden.- Parameters:
control
- the control that will be displayed or hidden.
-
-
Method Details
-
setVisible
public void setVisible(boolean visible) Displays or hides a control at the bottom of the parent composite and makes use of the control's SWT visible flag.Subclasses should override this method.
- Parameters:
visible
-true
if the control should be shown, andfalse
otherwise.
-