We resorted to using a simple switch statement in order to define the class value with more control.
我们使用一个简单的switch语句,以更强的控制能力定义class值。
We used the URL to set a class value in the body element so that we could style the page appropriately.
我们使用URL在body元素中设置class值,这样就可以适当地对页面应用样式。
ID or CSS class value is displayed in the tag navigator to help you distinguish it from other elements.
ID或css类别值会显示在标记导览中,以协助您和其他项目区分。
This prints the lots class (low, middle, or high) as well as the corresponding numerical lot class value.
这个秘籍用来显示用地等级(低,中,高),以及相应的用地价值。
The first two characters of the SQL state are a class value, and the last three characters form a subclass value.
SQL状态的前两个字符是一个类值,后三个字符形成子类值。
The class mechanism in CSS indicates a common formatting semantic for any element that has a matching class value.
CSS中的class机制代表着适用于具有匹配class值的任何元素的公共格式化语义。
Notice the class value access, which allows the CSS to hide these extra content structures for traditional browsers.
注意class值access,它使CSS能够对传统浏览器隐藏这些额外的内容结构。
An SQL state with a value of 00000 indicates success, whereas a class value of 01 indicates warning conditions, such as data truncation.
SQL状态为00000值就表示成功,类值为01就表示警告,比如数据截断。
In Part 7 you saw how we implement our method of automatically setting a class value based on what section of the Web site is being displayed.
在第7部分中,您看到了我们如何根据要显示的Web站点部分自动地设置class值。
You can match any span with a class value of command, and place the contents into an actual element, rather than using the default migration to phrase.
可以匹配任何class值为command的span,并把内容放到具体的元素中,而不使用默认的迁移方法。
Usually, I don't spare time for exercise, but I value the physical education class at school.
通常,我不会花时间来做运动,但是我很重视学校的体育课。
The methods of this class manage (key, value) pairs and multivalue fields.
该类的方法将管理(关键字,值)对和多值字段。
You can then store these Settings in static members of the class, making the value available to subsequent messages.
然后,您可以将这些设置保存在类的静态成员中,以便后续的消息可以使用其值。
Obtains the reference for the table ID, value object class, session attribute for data rows, and session attribute for combo box if one exists.
取得对表格ID、值对象类、数据行的会话属性和组合框(如果有的话)的会话属性的引用。
In this class, the value in the text box is read and the EJB is called using the EJB client API.
在这一类中,读取了文本框的值以及使用eJB客户端api调用EJB。
What if someone inadvertently passes in a null value for the Class parameter?
如果有人不经意地为Class参数传入一个null值会怎么样呢?
What if you wanted to ensure that the second Class element's name value in the document was com.acme.web.Account?
若想确保文档中第二个Class元素的name值是com .acme . web . Account又该如何呢?
A portlet is added in the static layout by using the tag with the class attribute value of portlet-window, as Listing 6 shows.
通过使用带有portlet -window类属性值的标签,来将portlet添加至静态布局中,如列表6所示。
Changed the class attribute value of the tag to tundra.
将标签的类属性值更改为tundra。
This method accepts four arguments: a property, a property value, a class, and a parent test object.
该方法接受4个参数:属性、属性值、类和父测试对象。
Notice the Ca (afferent coupling) metric for this class, which has a value of 3.
注意这个类的Ca(传入耦合)指标,它的值为3。
In particular, the ThresholdValues class examines the current value and the thresholds to define the severity of the alert.
特别是,ThresholdValue s类检查当前值和阈值来定义警报的严重性。
Let's start with a simple generic class, a value container called Box, which holds a value of known type.
让我们从一个简单的泛型类开始(一个称为Box的值容器),它持有一个具有已知类型的值。
This resource relies on a particular class (the value of the class attribute) that will be called, essentially offering an exposed class that will answer to all events generated from the GUI.
这个资源依赖于将被调用的一个特殊类(class属性的值),该类主要用于提供一个已公开的类,以便响应从GUI生成的所有事件。
The invocation parameters specified on these calls denote the name of the attribute (often "class") and its value, the fully-qualified name of the class to be loaded.
这些调用的调用参数指明了属性名(通常是“class”)和它的值,即要加载的类的全名。
In Listing 15, we have an effective container for the object identified by a class attribute value of announcement_summary.
在清单15中,我们为这个对象建立一个有效容器,并用class属性值an nouncement _ summary标识它。
You add a container in the static layout by using the tag with the class attribute value of portlet-container. For example.
使用带有portlet - container属性值的标签,您可以添加静态布局中的容器。
Since we know that the BODY elements class attribute value will be set to workgroup, we can style our banner elements accordingly.
因为我们知道BODY元素的class属性值会设置为workgroup,所以可以相应地对广告条元素应用样式。
The parent of an attribute class is org.odftoolkit.odfdom.OdfAttribute, and every attribute class specifies the value type and default value for its elements.
属性类的父类是or g . odftoolkit .odfdom . od fAttribute,每个属性类都指定值类型和默认值。
Here we identify sticky announcements with a class attribute value in the containing DIV element.
在这里,我们用DIV元素中的一个class属性值标识出置顶的公告。
应用推荐