A class selector selects all elements that have a class attribute with a particular value.
类选择符选择class属性为特定值的所有元素。
With the class selector you can define different styles for the same type of HTML element.
用选择器类你可以将同一类型的HTML元素定义出不同的样式。
With the class selector you can define different styles for the same type of HTML element.
使用类选择器可以为同一类型的HTML元素定义不同的样式。
One class is called the function selector, and the other one is called data binding.
一个类称为函数选择器,另一个类称为数据绑定。
The export will use the default JMS function selector class.
导出将使用缺省JMS函数选择器类。
A triangle selector is a class which can fetch the triangles from scene nodes for doing different things with them, for example collision detection.
这是一个类,你可以用它来从场景结点中拾取三角形,以用作各种不同的用途,比如碰撞检测。
The advantage of using classes globally is that instead of having to marry a given class to that selector, you can simply create a class with a style.
在全局范围使用类的优点是在选择符中不需要使用标记名,只需为类指定样式。
In keeping with the Reactor pattern, a Selector class is a multiplexor of Channels.
与反应器模式一致,Selector类是Channel的多路复用器。
The Selector class plays the role of a Reactor in the Reactor pattern scenario.
在反应器模式情形中,Selector类充当 Reactor角色。
To implement this RESTful service, a function selector class will be implemented for selecting a correct service function according to the type of HTTP method and returning the function name.
为了实现这个RESTful服务,要实现一个函数选择器类,它根据HTTP方法的类型选择正确的服务函数并返回函数名。
To implement this RESTful service, a function selector class will be implemented to return the target function name according to the HTTP methods, which is the same as Approach 1.
为了实现这个RESTful服务,要实现一个函数选择器类,它根据HTTP方法返回目标函数名,这与第一种方法相同。
This selector will search any with the class content.
这个选择器将搜索class 为content的任何 。
We use id attributes mainly for layout and class attributes, for repeated elements, or elements we know will be hard to identify using a CSS selector.
对于布局,我们主要使用ID属性;对于重复的元素或者使用CSS选择器难以识别出的元素,使用class属性。
Like the class, an ID selector is based on the value of an attribute, but in this case, it's the ID attribute.
与类选择符相似,ID选择符也基于一个属性的值,但这个属性是ID属性。
Then select RESTFunctionSelector for the function selector class as shown in Figure 26.
然后,选择RESTFunctionSelector 作为函数选择器类,见图26。
In the following example, the selector matches all SPAN elements whose "class" attribute has exactly the value "example".
下面这个例子,选择符匹配所有指定“class ”属性为“example ”的SPAN元素。
Although identically named class methods and instance methods are represented by the same selector, they can have different parameter types and return types.
尽管同名的类方法和实例方法拥有相同的选择器,但它们可以有不同的参数类型和返回值类型。
Scenarios for overriding this method might include if your derived class has a specialized style selector, or caches style values.
如果您的派生类有专用样式选择器或缓存样式值,则可以包含重写此方法的方案。
You can also omit the tag name in the selector to define a style that will be used by all HTML elements that have a certain class.
如果你需要定义所有HTML元素中的某个类,需要将标签名去掉,如下例所示。
You can also omit the tag name in the selector to define a style that will be used by all HTML elements that have a certain class.
如果你需要定义所有HTML元素中的某个类,需要将标签名去掉,如下例所示。
应用推荐