Package org.eclipse.nebula.widgets.grid
Class AbstractInternalWidget
- java.lang.Object
-
- org.eclipse.nebula.widgets.grid.AbstractRenderer
-
- org.eclipse.nebula.widgets.grid.AbstractInternalWidget
-
- All Implemented Interfaces:
IInternalWidget
,IRenderer
- Direct Known Subclasses:
GridCellRenderer
,GridFooterRenderer
,GridHeaderRenderer
public abstract class AbstractInternalWidget extends AbstractRenderer implements IInternalWidget
NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT. THIS IS A PRE-RELEASE ALPHA VERSION. USERS SHOULD EXPECT API CHANGES IN FUTURE VERSIONS.
Base implementation of IRenderer and IInternalWidget. Provides management of a few values.- See Also:
AbstractRenderer
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
hoverDetail
-
Fields inherited from interface org.eclipse.nebula.widgets.grid.IInternalWidget
LeftMouseButtonDown, MouseMove
-
-
Constructor Summary
Constructors Constructor Description AbstractInternalWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHoverDetail()
Returns the hover detail object.void
setHoverDetail(java.lang.String hoverDetail)
Sets a string object that represents which part of the rendered image is currently under the mouse pointer.-
Methods inherited from class org.eclipse.nebula.widgets.grid.AbstractRenderer
getBounds, getDisplay, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.nebula.widgets.grid.IInternalWidget
notify
-
Methods inherited from interface org.eclipse.nebula.widgets.grid.IRenderer
computeSize, paint, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
-
-
-
-
Method Detail
-
getHoverDetail
public java.lang.String getHoverDetail()
Description copied from interface:IInternalWidget
Returns the hover detail object. This detail is used by the renderer to determine which part or piece of the rendered image is hovered over.- Specified by:
getHoverDetail
in interfaceIInternalWidget
- Returns:
- the hoverDetail
-
setHoverDetail
public void setHoverDetail(java.lang.String hoverDetail)
Description copied from interface:IInternalWidget
Sets a string object that represents which part of the rendered image is currently under the mouse pointer.- Specified by:
setHoverDetail
in interfaceIInternalWidget
- Parameters:
hoverDetail
- the hoverDetail to set
-
-