NdefGui provides controls for handling and editing a NodeProxy or Ndef, and its monitors. NdefGui replaces NodeProxyEditor. It provides:
Both NodeProxy and Ndef implement a .gui message, which returns a NdefGui for that NodeProxy. Overview: JITLib.
Note that when creating an NdefGui for an Ndef with very many parameters, it may create more sliders than can fit on the window or screen. In such cases, it is best to set a reasonable maximum for numItems:
object |
the nodeproxy to be shown and edited, or nil. |
numItems |
How many sliders or textviews for parameters to provide. Default value is 0. |
parent |
a parent view where NdefGui is to be shown. If nil, a window is made. |
bounds |
bounds where the view (or window) will be shown. |
makeSkip |
a flag whether to create and start a SkipJack for auto-updating. |
options |
an array of symbols for options of what to display. See list below. |
two lines of controls for a big NdefGui, usually in its own window
two lines of controls for a very big NdefGui
for ar proxies, used in ProxyMixer left hand side
for ar proxies, used in ProxyMixer.small on left hand side
for kr proxies, used in ProxyMixer mid section
a dict for the sizes of the different gui elements.
a lookup dict for making the different buttons.
not a class var, but the method that inits buttonFuncs.
See JITGui for more instance methods.
Various views the NdefGui has if they were present in the options:
the paramGui's widgets (usually, EZSliders)
the currently used param names
highlight and unhighlight a single slider by index
highlight and unhighlight the nameView
highlight a contiguous group of sliders; used for showing assigned MIDI faderboxes etc.
editKeys with technical names can be replaced with more user-friendly ones.
an alias to method object, object_
creates all the views given in the options list. Internally this calls the following methods:
This seems broken in 3.7.0 - drags are sticky and can't be dropped.
This is used in ProxyChain (JITLibExtensions).