| Pacchetto | spark.layouts.supportClasses |
| Classe | public class DropLocation |
| Ereditarietà | DropLocation Object |
| Sottoclassi | MosaicDropLocation |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The DropLocation is created by the LayoutBase
class when the List calls the layout's
calculateDropLocation() method in response to a dragOver.
The DropLocation class is used by the layout for operations such as calculating the drop indicator bounds and drag-scroll deltas.
Elementi API correlati
spark.layouts.supportClasses.LayoutBase.calculateDropLocation()
spark.layouts.supportClasses.LayoutBase.calculateDropIndicatorBounds()
spark.layouts.supportClasses.LayoutBase.calculateDropIndicatorBounds()
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| dragEvent : DragEvent = null
The DragEvent associated with this location. | DropLocation | ||
| dropIndex : int = -1
The drop index corresponding to the event. | DropLocation | ||
| dropPoint : Point = null
The event point in local coordinates of the layout's target. | DropLocation | ||
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
Constructor. | DropLocation | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Descrizione delle proprietà
dragEvent | proprietà |
public var dragEvent:DragEvent = null| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The DragEvent associated with this location.
dropIndex | proprietà |
public var dropIndex:int = -1| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The drop index corresponding to the event.
dropPoint | proprietà |
public var dropPoint:Point = null| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The event point in local coordinates of the layout's target.
Descrizione della funzione di costruzione
DropLocation | () | Funzione di costruzione |
public function DropLocation()| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Constructor.
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate