APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.java.swing.plaf.motif

public Class MotifRadioButtonMenuItemUI

extends BasicRadioButtonMenuItemUI
Class Inheritance
Imports
java.awt.Point, java.awt.event.MouseEvent, java.io.Serializable, javax.swing.JComponent, .JMenuItem, .LookAndFeel, .MenuSelectionManager, javax.swing.event.ChangeEvent, .ChangeListener, .MouseInputListener, javax.swing.plaf.ComponentUI, javax.swing.plaf.basic.BasicRadioButtonMenuItemUI, sun.swing.SwingUtilities2

MotifRadioButtonMenuItem implementation
Authors
Georges Saab, Rich Schiavi

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class
protected class

Field Summary

Modifier and TypeField and Description
protected ChangeListener

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ChangeListener
protected MouseInputListener
public static ComponentUI
createUI(JComponent b)

Hides javax.swing.plaf.basic.BasicRadioButtonMenuItemUI.createUI.

Returns a new instance of BasicRadioButtonMenuItemUI.

protected void
protected void
Inherited from javax.swing.plaf.basic.BasicRadioButtonMenuItemUI:
getPropertyPrefixprocessMouseEvent

Field Detail

changeListenerback to summary
protected ChangeListener changeListener

Constructor Detail

MotifRadioButtonMenuItemUIback to summary
public MotifRadioButtonMenuItemUI()

Method Detail

createChangeListenerback to summary
protected ChangeListener createChangeListener(JComponent c)
createMouseInputListenerback to summary
protected MouseInputListener createMouseInputListener(JComponent c)

Overrides javax.swing.plaf.basic.BasicMenuItemUI.createMouseInputListener.

Doc from javax.swing.plaf.basic.BasicMenuItemUI.createMouseInputListener.

Returns an instance of MouseInputListener.

Annotations
@Override
createUIback to summary
public static ComponentUI createUI(JComponent b)

Hides javax.swing.plaf.basic.BasicRadioButtonMenuItemUI.createUI.

Doc from javax.swing.plaf.basic.BasicRadioButtonMenuItemUI.createUI.

Returns a new instance of BasicRadioButtonMenuItemUI.

installListenersback to summary
protected void installListeners()

Overrides javax.swing.plaf.basic.BasicMenuItemUI.installListeners.

Doc from javax.swing.plaf.basic.BasicMenuItemUI.installListeners.

Registers listeners.

Annotations
@Override
uninstallListenersback to summary
protected void uninstallListeners()

Overrides javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners.

Doc from javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners.

Unregisters listeners.

Annotations
@Override
com.sun.java.swing.plaf.motif back to summary

protected Class MotifRadioButtonMenuItemUI.ChangeHandler

extends Object
implements ChangeListener, Serializable
Class Inheritance
  • java.lang.Object
  • com.sun.java.swing.plaf.motif.MotifRadioButtonMenuItemUI.ChangeHandler
All Implemented Interfaces
java.io.Serializable, javax.swing.event.ChangeListener, java.util.EventListener
Annotations
@SuppressWarnings:serial

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
stateChanged(ChangeEvent e)

Implements javax.swing.event.ChangeListener.stateChanged.

Invoked when the target of the listener has changed its state.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ChangeHandlerback to summary
protected ChangeHandler()

Method Detail

stateChangedback to summary
public void stateChanged(ChangeEvent e)

Implements javax.swing.event.ChangeListener.stateChanged.

Doc from javax.swing.event.ChangeListener.stateChanged.

Invoked when the target of the listener has changed its state.

Annotations
@Override
com.sun.java.swing.plaf.motif back to summary

protected Class MotifRadioButtonMenuItemUI.MouseInputHandler

extends Object
implements MouseInputListener
Class Inheritance
  • java.lang.Object
  • com.sun.java.swing.plaf.motif.MotifRadioButtonMenuItemUI.MouseInputHandler
All Implemented Interfaces
javax.swing.event.MouseInputListener, java.awt.event.MouseMotionListener, java.util.EventListener, java.awt.event.MouseListener

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
mouseClicked(MouseEvent e)

Implements java.awt.event.MouseListener.mouseClicked.

Invoked when the mouse button has been clicked (pressed and released) on a component.

public void
mouseDragged(MouseEvent e)

Implements java.awt.event.MouseMotionListener.mouseDragged.

Invoked when a mouse button is pressed on a component and then dragged.

public void
mouseEntered(MouseEvent e)

Implements java.awt.event.MouseListener.mouseEntered.

Invoked when the mouse enters a component.

public void
mouseExited(MouseEvent e)

Implements java.awt.event.MouseListener.mouseExited.

Invoked when the mouse exits a component.

public void
mouseMoved(MouseEvent e)

Implements java.awt.event.MouseMotionListener.mouseMoved.

Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.

public void
mousePressed(MouseEvent e)

Implements java.awt.event.MouseListener.mousePressed.

Invoked when a mouse button has been pressed on a component.

public void
mouseReleased(MouseEvent e)

Implements java.awt.event.MouseListener.mouseReleased.

Invoked when a mouse button has been released on a component.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MouseInputHandlerback to summary
protected MouseInputHandler()

Method Detail

mouseClickedback to summary
public void mouseClicked(MouseEvent e)

Implements java.awt.event.MouseListener.mouseClicked.

Doc from java.awt.event.MouseListener.mouseClicked.

Invoked when the mouse button has been clicked (pressed and released) on a component.

Annotations
@Override
mouseDraggedback to summary
public void mouseDragged(MouseEvent e)

Implements java.awt.event.MouseMotionListener.mouseDragged.

Doc from java.awt.event.MouseMotionListener.mouseDragged.

Invoked when a mouse button is pressed on a component and then dragged. MOUSE_DRAGGED events will continue to be delivered to the component where the drag originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Due to platform-dependent Drag&Drop implementations, MOUSE_DRAGGED events may not be delivered during a native Drag&Drop operation.

Annotations
@Override
mouseEnteredback to summary
public void mouseEntered(MouseEvent e)

Implements java.awt.event.MouseListener.mouseEntered.

Doc from java.awt.event.MouseListener.mouseEntered.

Invoked when the mouse enters a component.

Annotations
@Override
mouseExitedback to summary
public void mouseExited(MouseEvent e)

Implements java.awt.event.MouseListener.mouseExited.

Doc from java.awt.event.MouseListener.mouseExited.

Invoked when the mouse exits a component.

Annotations
@Override
mouseMovedback to summary
public void mouseMoved(MouseEvent e)

Implements java.awt.event.MouseMotionListener.mouseMoved.

Doc from java.awt.event.MouseMotionListener.mouseMoved.

Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.

Annotations
@Override
mousePressedback to summary
public void mousePressed(MouseEvent e)

Implements java.awt.event.MouseListener.mousePressed.

Doc from java.awt.event.MouseListener.mousePressed.

Invoked when a mouse button has been pressed on a component.

Annotations
@Override
mouseReleasedback to summary
public void mouseReleased(MouseEvent e)

Implements java.awt.event.MouseListener.mouseReleased.

Doc from java.awt.event.MouseListener.mouseReleased.

Invoked when a mouse button has been released on a component.

Annotations
@Override