/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
constshort DROP_BEFORE = -1; constshort DROP_ON = 0; constshort DROP_AFTER = 1; /** *Methodsusedbythedragfeedbackcodetodetermineifadragisallowableat *thecurrentlocation.Togetthebehaviorwheredropsareonlyallowedon *items,suchasthemailNewsfolderpane,alwaysreturnfalsewhen *theorientationisnotDROP_ON.
*/
boolean canDrop(in long index, in long orientation, in DataTransfer dataTransfer);
/** *Calledwhentheuserdropssomethingonthisview.The|orientation|param *specifiesbefore/on/afterthegiven|row|.
*/ void drop(in long row, in long orientation, in DataTransfer dataTransfer);
/** *Methodsusedbythetreetodrawthreadlinesinthetree. *getParentIndexisusedtoobtaintheindexofaparentrow. *Ifthereisnoparentrow,getParentIndexreturns-1.
*/ long getParentIndex(in long rowIndex);
/** *hasNextSiblingisusedtodetermineiftherowatrowIndexhasanextSibling *thatoccurs*after*theindexspecifiedbyafterIndex.Codethatisforced *tomarchdowntheviewlookingatlevelscanoptimizethemarchbystarting *atafterIndex+1.
*/
boolean hasNextSibling(in long rowIndex, in long afterIndex);
/** *Thelevelisanintegervaluethatrepresents *thelevelofindentation.Itismultipliedbythewidthspecifiedinthe *:moz-tree-indentationpseudoelementtocomputetheexactindendation.
*/ long getLevel(in long index);
/** *Theimagepathforagivencell.Fordefininganiconforacell. *Iftheemptystringisreturned,the:moz-tree-imagepseudoelement *willbeused.
*/
AString getImageSrc(in long row, in TreeColumn col);
/** *Thevalueforagivencell.Thismethodisonlycalledforcolumns *oftypeotherthan|text|.
*/
AString getCellValue(in long row, in TreeColumn col);
/** *Thetextforagivencell.Ifacolumnconsistsonlyofanimage,then *theemptystringisreturned.
*/
AString getCellText(in long row, in TreeColumn col);
/** *Calledontheviewwhenacellinanon-selectablecyclingcolumn(e.g.,unread/flag/etc.)isclicked.
*/ void cycleCell(in long row, in TreeColumn col);
/** *isEditableiscalledtoasktheviewifthecellcontentsareeditable. *Avalueoftruewillresultinthetreepoppingupatextfieldwhen *theusertriestoinlineeditthecell.
*/
boolean isEditable(in long row, in TreeColumn col);
/** *setCellValueiscalledwhenthevalueofthecellhasbeensetbytheuser. *Thismethodisonlycalledforcolumnsoftypeotherthan|text|.
*/ void setCellValue(in long row, in TreeColumn col, in AString value);
/** *setCellTextiscalledwhenthecontentsofthecellhavebeeneditedbytheuser.
*/ void setCellText(in long row, in TreeColumn col, in AString value);
};
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.