Make the form a nested class within your component.
使窗体成为组件中的嵌套类。
In this example, a nested class hides a class that has the same name in the base class.
在这个范例中,巢状类别会隐藏基底类别中具有相同名称的类别。
Why is the behavior of nested class different between different ways of class declaration?
为什么嵌套类的行为不同的类声明方式之间的不同吗?
If the nested class is a static class, a box showing a preview of the refactoring displays right away.
如果这个嵌套类是一个静态类,那么就会立即出现一个框,显示这个重构的预览。
To preserve this functionality, the refactoring will add an instance of the enclosing class BagExample to the formerly nested class.
为了保留这种功能,重构过程将一个装入类BagExample的实例放在前面那个嵌套类中。
The nested class StudentImpl is the implementation of the Student trait, which thus provides the get()/set() method pairs demanded by it.
嵌套类StudentImpl是Student特征的实现,因而提供了必需的get()/set()方法对。
If a class has one or more private constructors and no public constructors, other classes (except nested classes) cannot create instances of this class.
如果类具有一个或多个私有构造函数而没有公共构造函数,则其他类(除嵌套类外)无法创建该类的实例。
Also note that class definitions must appear at the top level of a module, meaning they cannot be nested classes (classes defined inside other classes or functions).
另外要注意,类定义必须出现在模块的最顶层,这意味着它们不能是嵌套的类(在其它类或函数中定义的类)。
The convert anonymous class to nested refactoring takes an anonymous class and converts it to a nested class of the method that originally contained the anonymous class.
ConvertAnonymousClasstoNested重构能够接受一个匿名类并将其转换为最初包含这个匿名类的方法的一个嵌套类。
A nested class make sense when you have enough related functionality to lump together in a class, but the functionality is only ever going to be used by its "outer" class.
当你有足够多的功能需要归并到一个类里,并且这个类在仅会被外层类所使用时,一个嵌套类就非常有用。
If it is not a static class, you first need to declare the name of the field that will hold the reference to the parent class of the nested class before you get to the preview box.
如果它不是一个静态类,那么需要首先声明保存有对此嵌套类的父类的引用的那个字段的名称,之后才能看到这个预览框。
Note that when a class is nested, it has access to the outer class's members.
请注意,当一个类是嵌套类的时候,它可以访问其外层类的成员。
Also like classes, traits can contain nested trait and class definitions and classes can contain nested trait definitions.
而且,traits能包含嵌套的trait和类定义,类也能包含嵌套的trait定义。
The SetupComponent class, which was presented in Part 1, traverses the JSF component tree, allowing you to change the attributes of the nested components right before their rendering.
SetupComponent类(在 第 1 部分 中介绍过)遍历JSF组件树,允许在呈现嵌套组件之前更改其属性。
The derived class that you design must have a nested template class/structure named definition (you may not change this name). The definition class has the following properties
您设计的派生类必须有一个名为definition(可以不修改此名)的嵌套的模板类/结构。
The HelpOnFocusComponent class (see Listing 15) extends SetupComponent and implements the setup method, which is called for every nested component whose rendered property is true.
helponfocuscomponent类(参见清单15)扩展了SetupComponent,并实现了setup方法,每个rendered属性为true的嵌套组件都将调用此方法。
That command class is nested within FamilyTreeViewModel, but the property that exposes it to the View is public. That code is shown below
该命令类被包含在FamilyTreeViewModel中,不过它的属性是public的方式暴露给View的。
To allow recursion, a collaboration structure is nested within a class specification, which means that all instances of that class will have an internal structure specified by the class definition.
为了允许递归,协作结构被嵌套到类的规范中。这就是说这个类的所有实例都将有一个由类定义的内部结构。
This class provides better control of nested wait loops in the active scheduler.
在活动调度器中,这个类能更好地控制嵌套的等待循环。
How do I set up my model class for nested JSON responses?
如何设置我的模型类嵌套json响应?
A name can be hidden by an explicit declaration of that same name in a nested declarative region or derived class (10.2).
名字被嵌套的声明区域或派生类(10.2)中相同名字的显式声明所隐藏。
For example, an event-handler delegate that handles an event defined on a class should not be nested in the class.
例如,处理在某一类上定义的事件的事件处理程序委托不应嵌套在该类中。
When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.
在衍生类别中覆写时,使用指定的系结条件约束搜寻指定的巢状型别。
The realization of mapping a class of nested loop algorithms to linear systolic array is studied.
研究了一类多重循环算法的线性脉动阵列实现。
This paper examines the class hierarchy index, nested-attribute index, path index and multiindex, and puts forward the corresponding algorithms of index maintenance.
本文研究类层次索引、嵌套索引、路径索引和多重索引 ,并给出相应的索引维护算法。
This paper examines the class hierarchy index, nested-attribute index, path index and multiindex, and puts forward the corresponding algorithms of index maintenance.
本文研究类层次索引、嵌套索引、路径索引和多重索引 ,并给出相应的索引维护算法。
应用推荐