OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.event
Class AdfDropEvent

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.event.AdfBaseEvent
               |
               +--oracle.adf.view.js.event.AdfPhasedEvent
                     |
                     +--oracle.adf.view.js.event.AdfComponentEvent
                           |
                           +--oracle.adf.view.js.event.AdfCustomEvent
                                 |
                                 +--oracle.adf.view.js.event.AdfDropEvent

public class AdfDropEvent
extends AdfCustomEvent
Drop Event class for when a Drag and Drop Drop event occurs



Field Summary

public static Object
DROP_EVENT_TYPE
public static Object
DROP_ORIENTATION_AFTER
public static Object
DROP_ORIENTATION_BEFORE
public static Object
DROP_ORIENTATION_INSIDE
public static Object
DROP_ORIENTATION_ON


Fields inherited from oracle.adf.view.js.event.AdfCustomEvent

setPartial, setRoot


Fields inherited from oracle.adf.view.js.event.AdfComponentEvent

BLUR_EVENT_TYPE, FOCUS_EVENT_TYPE


Fields inherited from oracle.adf.view.js.event.AdfBaseEvent

AT_TARGET_PHASE, BUBBLING_PHASE, CAPTURING_PHASE


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDropEvent(AdfUIComponent targetComponent, Object dragSource, Object transferable, Object proposedAction, Number dropX, Object dropY, String dropOrientation, Object dropSite, Number dropSiteIndex)
Drop Event class for when a Drag and Drop Drop event occurs


Method Summary

protected Object
Init(AdfUIComponent targetComponent, Object dragSource, Object transferable, Object proposedAction, Number dropX, Object dropY, String dropOrientation, Object dropSite, Number dropSiteIndex)
Initializes the instance.


Methods inherited from oracle.adf.view.js.event.AdfCustomEvent

AddMarshalledProperties, GetParams, isImmediate, propagatesToServer, queue, toDebugString


Methods inherited from oracle.adf.view.js.event.AdfPhasedEvent

getCurrentTarget, getDoesBubbles, getEventPhase, isCancelable, nextEventPhase, setCurrentTarget


Methods inherited from oracle.adf.view.js.event.AdfBaseEvent

cancel, forceFullSubmit, getClearMessages, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCanceled, IsDeleveryDiscrete, isFullSubmitForced, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, setPartial, setRoot, stopBubbling


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString


Field Detail


DROP_EVENT_TYPE

public static Object DROP_EVENT_TYPE

DROP_ORIENTATION_AFTER

public static Object DROP_ORIENTATION_AFTER

DROP_ORIENTATION_BEFORE

public static Object DROP_ORIENTATION_BEFORE

DROP_ORIENTATION_INSIDE

public static Object DROP_ORIENTATION_INSIDE

DROP_ORIENTATION_ON

public static Object DROP_ORIENTATION_ON

Constructor Detail


AdfDropEvent

public AdfDropEvent(AdfUIComponent targetComponent,
                    Object dragSource,
                    Object transferable,
                    Object proposedAction,
                    Number dropX,
                    Object dropY,
                    String dropOrientation,
                    Object dropSite,
                    Number dropSiteIndex)

Drop Event class for when a Drag and Drop Drop event occurs

Parameters:
targetComponent  -  Component receiving the drop
dragSource    
transferable    
proposedAction    
dropX  -  Y location of drop in component coordinates
dropY    
dropOrientation  -  One of
  • AdfDropEvent.DROP_ORIENTATION_ON
  • AdfDropEvent.DROP_ORIENTATION_INSIDE
  • AdfDropEvent.DROP_ORIENTATION_BEFORE
  • AdfDropEvent.DROP_ORIENTATION_AFTER
dropSite  -  The internal site that the orientation is relative to. For Collection component This is the client rowKey of the target
Default value = null
dropSiteIndex  -  The index of the dropSite, or -1 if unknown
Default value = -1

Method Detail


Init

protected Object Init(AdfUIComponent targetComponent,
                      Object dragSource,
                      Object transferable,
                      Object proposedAction,
                      Number dropX,
                      Object dropY,
                      String dropOrientation,
                      Object dropSite,
                      Number dropSiteIndex)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
targetComponent  -  Component receiving the drop
dragSource    
transferable    
proposedAction    
dropX  -  Y location of drop in component coordinates
dropY    
dropOrientation  -  One of
  • AdfDropEvent.DROP_ORIENTATION_ON
  • AdfDropEvent.DROP_ORIENTATION_INSIDE
  • AdfDropEvent.DROP_ORIENTATION_BEFORE
  • AdfDropEvent.DROP_ORIENTATION_AFTER
dropSite  -  The internal site that the orientation is relative to
dropSiteIndex  -  The index of the dropSite, or -1 if
Return:
Object
Overrides:
AdfObject.Init()

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.