Oracle Data-aware Controls Reference

oracle.dacf.style
Class EditModeListener

java.lang.Object
  |
  +--java.awt.event.MouseAdapter
        |
        +--oracle.dacf.style.EditModeListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener

public class EditModeListener
extends java.awt.event.MouseAdapter


Constructor Summary
EditModeListener()
          Constructor
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
          selects the component visually and starts up the Style Editor
 void reset()
          resets all selections
 void setEditable(boolean mode)
          Sets the editable mode
 void setModifier(int mod)
          Defining a modifier for the MouseEvent
 void setModifiers(int mod1, int mod2)
          Defining 2 modifiers for the MouseEvent
 void setSelectionColor(java.awt.Color color)
          Defines a Color used as selection indication
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditModeListener

public EditModeListener()
Constructor
Method Detail

setModifier

public void setModifier(int mod)
Defining a modifier for the MouseEvent
Parameters:
mod - modifier of type InputEvent.????_MASK

setModifiers

public void setModifiers(int mod1,
                         int mod2)
Defining 2 modifiers for the MouseEvent
Parameters:
mod1 - modifier of type InputEvent.????_MASK
mod2 - modifier of type InputEvent.????_MASK

setSelectionColor

public void setSelectionColor(java.awt.Color color)
Defines a Color used as selection indication
Parameters:
color - the new color

setEditable

public void setEditable(boolean mode)
Sets the editable mode
Parameters:
mode - the new editable mode

reset

public void reset()
resets all selections

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
selects the component visually and starts up the Style Editor
Overrides:
mouseClicked in class java.awt.event.MouseAdapter

Oracle Data-aware Controls Reference