IlvInteractorButton
IlvObject
|
+--IlvEmptyView
|
+--IlvButton
|
+--IlvInteractorButton
- Category:
-
Common component
- JavaScript File:
-
IlvInteractorButton.js
- Description:
-
This class implements a button that sets an interactor on a
view each time it is pressed. This button is
automatically deselected when a new interactor is set on the view.
|
Method Summary |
doInstall()
This method is invoked when the button is pressed. |
getInteractor(interactor)
Returns the interactor set on the view each time this button is pressed. |
getView(view)
Returns the view associated with this button. |
mouseDown(e)
This method is invoked when the mouse is pressed. |
mouseUp(e)
This method is invoked when the mouse is released. |
setInteractor(interactor)
Sets the interactor to be set on the view each time this button is pressed. |
setView(view)
Sets the view associated with this button. |
IlvInteractorButton
IlvInteractorButton(left, top, width, height, image, interactor, view)
- Creates an instance of IlvInteractorButton.
doInstall
doInstall()
-
This method is invoked when the button is pressed.
It can be called directly to simulate a user's click
on the button.
Note: This implementation sets the interactor on the view.
getInteractor
getInteractor(interactor)
-
Returns the interactor set on the view each time this button is pressed.
getView
getView(view)
-
Returns the view associated with this button.
mouseDown
mouseDown(e)
-
This method is invoked when the mouse is pressed.
mouseUp
mouseUp(e)
-
This method is invoked when the mouse is released.
setInteractor
setInteractor(interactor)
-
Sets the interactor to be set on the view each time this button is pressed.
setView
setView(view)
-
Sets the view associated with this button.
| Inherited Methods from IlvButton |
childrenToHTML, dispose, doClick, getAction, getCursor, getHeight, getImage, getMessage, getMessagePanel, getRolloverImage, getSelectedImage, getToolTipText, getWidth, isEnabled, isSelected, isToggleButton, mouseDown, mouseOut, mouseOver, mouseUp, setAction, setChildrenBounds, setCursor, setEnabled, setImage, setMessage, setMessagePanel, setRolloverImage, setSelected, setSelectedImage, setToggleButton, setToolTipText| Inherited Methods from IlvEmptyView |
addSizeListener, childrenToHTML, getBounds, getHeight, getLeft, getLocation, getSize, getTop, getWidth, isStateInCookie, removeSizeListener, restoreState, saveState, setBounds, setChildrenBounds, setLocation, setSize, setStateInCookie, toHTML| Inherited Methods from IlvObject |
callDispose, dispose, getClassName, hashCode, inherits, instanceOf, invoke, registerDispose, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility