这段代码定义私有变量(除非注释为shared的,否则所有元素都是不可见的),然后定义初始化逻辑。
This code defines the private variable (nothing is visible unless annotated as Shared), and then the initialization logic.
如果“存款”需要新的GUI元素,那就让它们先不可见。
If Deposit needs new GUI elements then make them invisible for now.
但是它并不意味着,切断不可见的联系,这种联系在有些时候,让这些元素与有意义的世界相连接。
But it doesn't mean removing the invisible connective tissue that somehow binds the elements into a meaningful whole.
总是把其中的内容布置在垂直的框中(框本身是不可见的),类似地,元素把内容布置在水平的框中。
A always arranges its content in a common vertical box (the box itself is invisible). Likewise for horizontal elements.
在这些标签中,很多都提供了不可见的结构:toolbox、hbox和vbox是容器标签,可以对它们所包含的元素的布局产生影响(比如说,“vbox”是“verticalbox”的简写)。
Many of the tags provide invisible structure: toolbox, hbox, and Vbox are container tags that affect layout of their collected elements (for example, "Vbox" is short for "vertical box").
默认情况下,测试代码中的私有、内部和友好元素对测试代码不可见,但您仍然可以测试它们。
By default, private, internal, and friend elements in your code under test are not visible to your test code, but you can still test them.
例如,如果元素在屏幕上,但被其他元素遮盖,则它可能不可见。
For example, if the element is on the screen but obscured by other elements, it might not be visible.
但在某些情况下,元素在屏幕上仍不可见。
In some circumstances, an element is on the screen but is still not visible.
不可见的元素不参与命中测试并且不接收输入事件,即使鼠标放在该元素可见时的边界上也如此。
Elements that are not visible do not participate in hit testing and do not receive input events, even if the mouse is over the bounds where the element would be if were visible.
不可见的元素不参与命中测试并且不接收输入事件,即使鼠标放在该元素可见时的边界上也如此。
Elements that are not visible do not participate in hit testing and do not receive input events, even if the mouse is over the bounds where the element would be if were visible.
应用推荐