-
Notifications
You must be signed in to change notification settings - Fork 29
UI.View
kerrishotts edited this page Apr 4, 2013
·
6 revisions
(part of UI))
Provides the basic object that all other UI widgets inherit from. As such, it's one of the larger objects, since it needs to provide support for display, events, and more.
- boundsDidChange -- sent when the bounds change
- frameDidChange -- sent when the frame changes
- backgroundColorDidChange -- sent when the background color changes
- backgroundImageDidChange -- sent when the background image changes
- shadowDidChange -- sent when the shadows change
- borderDidChange -- sent when the border changes
- opacityDidChange -- sent when the opacity changes
- visibilityDidChange -- sent when the visibility of the object changes (via visible )
- viewWillAppear -- sent when the view is about to appear on screen
- viewDidAppear -- sent when the view has appeared on screen
- viewWillDisappear -- sent when the view is about to disappear off screen
- viewDidDisappear -- sent when the view has disappeared off screen
- viewDidInit -- sent when the view has finished initializing
- tapped -- sent when the view is interactive and has received a tap
- touchStarted -- sent when the view is interactive and has received a
touchstart
event - touchMoved -- sent when the view is interactive and has received a
touchmove
event - touchEnd -- sent when the view is interactive and has received a
touchend
event
- subViews
- superView
- bounds
- frame
- backgroundColor
- backgroundImage
- shadows
- border
- visible
- opacity
- useGPU
- useGPUForPositioning
- overflow
- interactive
- addSubView
- removeSubView
- removeFromSuperView
- calcElement
- init
- initWithFrame
- initWithOptions
- touchStart*
- touchMove*
- touchEnd*
* These aren't actually defined; it is expected that they will be supplied either by a subclass or some other method.
0.3 Introduced; Docs Valid.