A.Reserved Words

出自OpenFace

跳转到: 导航, 搜索

目录

Reserved Words

Note that the Laszlo runtime environment is case-insensitive, so these identifiers cannot be used, even with different cases. For example, a Laszlo program should not define a global variable named lzview, because this will replace the Laszlo Foundation Class variable named LzView.

Identifiers prefixed with $ should also be avoided, as these are reserved for machine generated identifiers.

Globally reserved words Avoid defining functions, classes or global variables with these names, or assigning values to them.

  Class
  ConstructorMap
  Datasource
  Debug
  LzAnimator
  LzAnimatorGroup
  LzAudio
  LzBrowser
  LzCloneDatapath
  LzConnectionDataset
  LzConnectionDatasource
  LzConnectionLoader
  LzCursor
  LzDataLoadQueue
  LzDataLoader
  LzDatapath
  LzDatapointer
  LzDelegate
  LzEvent
  LzFixTags
  LzFont
  LzFontManager
  LzGlobalMouse
  LzHTTPDataset
  LzIdle
  LzInstantiator
  LzKeys
  LzLazyReplicationManager
  LzLoadQueue
  LzLocalDataset
  LzMakeClass
  LzMakeClone
  LzMakeLoad
  LzMakePixelLocked
  LzMediaLoadQueue
  LzMediaLoader
  LzNode
  LzNotifyingEvent
  LzParam
  LzParsedPath
  LzReplicationManager
  LzSOAPDataset
  LzTimer
  LzTransformer
  LzURL
  LzView
  LzViewLinkage
  _dsroot
  _mdn
  _url
  _root
  attachMovie
  cCursor
  canvas
  debug
  entercontrol
  global

What follows is a breakdown of reserved class members for the various LFC classes. Note that subclasses cannot use reserved words of their superclass(es). For example, an application should not set the callInit property of an instance of LzNode, or of any class which extends it (such as LzView).

For all LzNodes:

  UID
  _a
  __proto__
  _events
  _ignoreAttribute
  _instanceAttrs
  _instanceChildren
  _sCall
  _sPrototypeRef
  _t
  applyArgs
  applyConstraint
  bringToFront
  callInherited
  callInit
  classname
  constraints
  datapath
  defaultattrs
  deferredcarr
  delayedSetters
  earlySetters
  getters
  id
  immediateparent
  init
  initialize
  initializeWithArgs
  initstage
  instantiationDone
  isExtendedBy
  isinited
  isnew
  lateinit
  makeDefaultConstructor
  movieClipRef
  name
  nodeLevel
  onconstruct
  oninit
  parent
  proto
  resolveDict
  resolveReferences
  searchSubnodes
  setAttribute
  setClassEvents
  setDefaultHandler
  setters
  storeAttr
  subNodes
  subViews
  subviews
  thaw

For LzDatasource:

  callInherited
  mc
  name
  queries
  querycounter
  rooturl
  type
  waitcursor

For LzConnectionDatasource:

  __ONCONNECT
  __ONERROR
  __ONSILENCE
  __ONTIMEOUT
  __connectedUsersDataset
  __disconnectDataset
  __messageDataset
  _disconnect
  callInherited
  connect
  disconnect
  heartbeat
  isConnected
  loader
  maxSilenceDel
  maxsilence
  maxtries
  mc
  name
  rawdata
  reconnect
  reconnectTries
  root
  secure
  timeout
  type
  waitcursor

For LzAnimatorGroup:

  actAnim
  animatorProps
  animators
  callInherited
  checkRepeat
  crepeat
  immediateparent
  isPaused
  isactive
  isinited
  onfinish
  onrepeat
  onstart
  onstop
  pauseTime
  prepareStart
  process
  resetAnimator
  start
  startTime
  start_oninit
  stop
  updateDel
  view

For LzAnimator:

  attribute
  beginAnimator
  beginPole
  beginPoleDelta
  calcControlValues
  calcNextValue
  callInherited
  checkRepeat
  crepeat
  currentValue
  currentvalue
  doBegin
  duration
  endPole
  endPoleDelta
  from
  indirect
  isPaused
  isactive
  lastIterationTime
  onstart
  origto
  prepareStart
  primary_K
  relative
  setValue
  startTime
  to
  updateDel
  view

For LzCommand:

  active
  callInherited
  keys
  onselect

For LzDatapointer:

  _gt
  _lt
  _sl
  context
  data
  dataDel
  dupeAtPointer
  errorDel
  getDataset
  getNodes
  gotData
  handleModify
  hasdata
  isValid
  makeNode
  name
  nodeByName
  ondata
  onerror
  ontimeout
  p
  parsePath
  parsedPath
  pathSymbols
  ppcache
  rerunxpath
  runXPath
  selectNext
  selectParent
  sendDataChange
  serializeNode
  setDataContext
  timeoutDel
  xpath

For LzDatapath:

  _instanceAttrs
  callInherited
  checkDependentContexts
  context
  dataDel
  dependentChildren
  errorDel
  getDataset
  getNodes
  gotData
  handleModify
  immediateparent
  isdependent
  lastmatchnull
  p
  parsedPath
  replication
  setName
  setNodeAttribute
  setNodeName
  setNodeText
  storednodes
  timeoutDel

For LzReplicationManager:

  _ignoreAttribute
  addNodeAtEnd
  ascDict
  ascendToNodeLevel
  callInherited
  cloneAttrs
  cloneChildren
  cloneClass
  cloneParent
  clonePool
  clones
  datapath
  deadpool
  descDict
  destroyClone
  getCloneForNode
  getCloneNumber
  getNewClone
  getNodeOffset
  getNodes
  gotData
  handleDeletedNode
  hasdata
  immediateparent
  initialnodes
  killdel
  nodes
  orderf
  orderpath
  p
  parsedPath
  poolClone
  pooling
  quicksort
  runXPath
  setComparator
  setDataContext
  setNodes
  setOrder
  setXPath

For LzLazyReplicationManager:

  adjustVisibleClones
  axis
  callInherited
  cloneAttrs
  clonePool
  clones
  dstart
  getNewClone
  hasdata
  immediateparent
  immediateparent
  mask
  nodes
  orderpath
  quicksort
  setNodes
  sizeaxis
  spacing
  totalsize
  updateDel
  viewsize
  viewsizer

For LzDataset:

  abort
  addLoader
  callInherited
  changeDataset
  clearUpdateQDel
  clearUpdateQueue
  dE
  doRequest
  doneDel
  ds
  e
  et
  getAllResponseHeaders
  getContext
  getErrorString
  getRootNode
  getType
  getUID
  gotData
  hasdata
  head
  headers
  lastsig
  lc
  loader
  lzt
  m
  n
  name
  noxpatherrors
  o
  onchange
  ondata
  onerror
  ontimeout
  ord
  q
  rawdata
  req
  reqdata
  reqtype
  root
  s
  sendDataChange
  setEndpoint
  setMethod
  setName
  setNamespace
  setQueryType
  setRequest
  st
  timeoutDel
  type
  updatelockbywho
  updatelocked
  updatequeue

For LzLayout:

  addSubview
  callInherited
  delegates
  gotNewSubview
  hasresolved
  immediateparent
  locked
  reset
  subviews
  unlock
  update
  updateDelegate

For LzSelectionManager:

  callInherited
  clearSelection
  getDPFor
  isMultiSelect
  isRangeSelect
  isSelected
  makeSelected
  manager
  sel
  selectRange
  selected
  selectedHash
  toggle
  unselect

For LzState:

  appliedChildren
  appliedconstraints
  apply
  callInherited
  heldArgs
  instantiationDone
  isapplied
  isinited
  onapply
  onremove
  parent
  setters
  staterefs
  storeAttr
  subh

For LzView:

  doubleclickset
  isBackgrounded
  getAttribute
  _haser
  height
  queuePlayAction
  visible
  onx
  setPosConstraint
  _newrescname
  reevaluateSize
  setWidth
  rotation
  trackPlay
  viewLinks
  onload
  fontname
  FIRST_SUBVIEW_DEPTH
  realwidth
  _newrname
  applyConstraint
  queuedplayaction
  width
  dcDel
  updateSize
  setClickable
  onyscale
  movieClipRef
  bgColorO
  setHeight
  onplay
  subUniqueNum
  viewProperties
  setResource
  setProp
  stop
  _setrescheight
  totalframes
  setMovieClip
  play
  bgRef
  bringToFront
  name
  onframe
  setAttribute
  bgcolor
  getMCRef
  setters
  setButtonSize
  resourceheight
  checkWidth
  x
  doQueuedDel
  _moDel
  getLinkage
  subviews
  _setrescwidth
  applyBG
  subViewNumber
  immediateparent
  _muDel
  yscale
  frame
  tryReplaceResource
  colorobj
  doubleclicktime
  BUTTON_DEPTH
  onopacity
  stretchResource
  onlastframe
  layouts
  _newatp
  onaddsubview
  replRescDel
  ony
  checkPlayStatusDel
  updatePlayStatus
  id
  subViews
  isinited
  callInherited
  updatePlayDel
  onwidth
  _svdepth
  _sinitialize
  depthList
  resourcewidth
  onxscale
  getColorObj
  masked
  xscale
  checkPlayStatus
  getOption
  opacity
  maskClip
  deleteNode
  scaleClip
  makeContainerResource
  hassetwidth
  dcTime
  onaddsubresource
  checkframe
  buttonIsAttached
  stopTrackPlay
  _events
  setterstack
  setupDoubleClick
  buttonRef
  checkHeight
  realheight
  setBGColor
  _cures
  getProp
  onheight
  ondblclick
  makeMasked
  mask
  hassetheight
  playing
  depth
  getDepthList
  _ignoreAttribute
  y
  lastaddsv
  options
  getAttachPoint
  reevaluateSize
  onload
  queuePlayAction
  callInherited
  firstsrc
  createLoader
  setAttribute
  totalframes
  isloaded
  loader
  lzmlsizeProps
  stoptrackPlay
  resourceheight
  currentframe
  getMCRef
  updateDel
  updateAfterLoad
  resourcewidth
  setSource
  queuedplayaction

For LzAbstractText:

  _ignoreAttribute
  callInherited
  clearText
  font
  fontname
  fontsize
  fontstyle
  getText
  height
  lineheight
  m
  maxlines
  movieClipRef
  movieclipref
  onscrollx
  onscrolly
  resize
  rewrapText
  scrollheight
  setAttribute
  setColor
  setFont
  setMultiline
  setResource
  setText
  sizeToHeight
  sizeToheight
  width
  xscroll
  yscroll

For LzInputText:

  CR
  HMARK
  MAX_WRAP_ITER
  TMARK
  TMARK_CODE
  _ignoreAttribute
  callInherited
  cp
  enterDel
  fixedsize
  font
  fontsize
  getText
  hardline
  hardlinepos
  hasFocus
  height
  hoffset
  lastc
  lastm
  lasts
  lastt
  lastwidth
  movieClipRef
  multiline
  needsrewrap
  onblurDel
  onfocusDel
  ontext
  password
  rescname
  setText
  updateDel
  updateText
  width

For LzText:

  DEFAULT_SIZE
  _ignoreAttribute
  ampcode
  aposcode
  callInherited
  colorstring
  dbg
  escapeChars
  font
  fontsize
  fontstyle
  format
  getText
  gtcode
  height
  ltcode
  m
  marklist
  maxlines
  measureDirty
  measuredirty
  movieClipRef
  multiline
  nlcode
  ontext
  quotcode
  resize
  rewrapText
  setFormat
  setHeight
  setScrollHeight
  setWidth
  sizeToHeight
  text
  underline
  updateMeasure
  width
  wrappedtext

For LzDelegate and LzEvent:

  c
  callInherited
  delegateList
  disc
  f
  hasNoDelegates
  lastevent
  locked
  notifyingDelegate
  register

For LzFont:

  advancetable
  fontobject
  height
  name
  style

For LzParam:

  d
  dlm
  getNames
  getOffset
  remove
  sep
  setDelimiter
  setSeparator
  setValue