|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.action.WidgetAction.WidgetMouseWheelEvent
public static final class WidgetAction.WidgetMouseWheelEvent
| Constructor Summary | |
|---|---|
WidgetAction.WidgetMouseWheelEvent(long id,
MouseWheelEvent event)
Creates a mouse wheel event. |
|
| Method Summary | |
|---|---|
int |
getButton()
|
int |
getClickCount()
|
long |
getEventID()
Returns an event id. |
int |
getModifiers()
|
int |
getModifiersEx()
|
Point |
getPoint()
Returns stored location. |
int |
getScrollAmount()
|
int |
getScrollType()
|
int |
getUnitsToScroll()
|
int |
getWheelRotation()
|
long |
getWhen()
|
boolean |
isAltDown()
|
boolean |
isAltGraphDown()
|
boolean |
isControlDown()
|
boolean |
isMetaDown()
|
boolean |
isPopupTrigger()
|
boolean |
isShiftDown()
|
void |
setPoint(Point point)
Sets a new location. |
void |
translatePoint(int x,
int y)
Translates the stored location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetAction.WidgetMouseWheelEvent(long id,
MouseWheelEvent event)
id - the event idevent - the Swing event| Method Detail |
|---|
public long getEventID()
getEventID in interface WidgetAction.WidgetEventpublic Point getPoint()
getPoint in interface WidgetAction.WidgetLocationEventpublic void setPoint(Point point)
setPoint in interface WidgetAction.WidgetLocationEventpoint - the new location
public void translatePoint(int x,
int y)
translatePoint in interface WidgetAction.WidgetLocationEventx - the x-axis additiony - the y-axis additionpublic int getClickCount()
MouseEventpublic int getButton()
MouseEventpublic boolean isPopupTrigger()
MouseEventpublic boolean isShiftDown()
MouseEventpublic boolean isControlDown()
MouseEventpublic boolean isMetaDown()
MouseEventpublic boolean isAltDown()
MouseEventpublic boolean isAltGraphDown()
MouseEventpublic long getWhen()
MouseEventpublic int getModifiers()
MouseEventpublic int getModifiersEx()
MouseEventpublic int getScrollType()
MouseWheelEventpublic int getScrollAmount()
MouseWheelEventpublic int getWheelRotation()
MouseWheelEventpublic int getUnitsToScroll()
MouseWheelEvent
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||