例如,设置文本为IBM。
设置文本样式属性的代码如清单2 所示。
The code for setting the text style attributes is shown in listing 2.
本例中,它只需要一个参数:设置文本的颜色。
In this case, the method requires only one argument: the color you want for the text.
它使用了三行代码来完成一项任务:即设置文本。
It takes three lines to accomplish one task: setting the text.
这个案例展示了如何设置文本中的字体属性。
这个案例展示了如何设置文本中的字体大小。
This example demonstrates how to set the font size of a text.
文本排列属性是用来设置文本的水平对齐方式。
This text is styled with some of the text formatting properties.
要设置文本域值,您需要输入一些类似于清单1 所示的代码
To set the values for a text field, you would enter something like the code shown in Listing 1
下载Pango,这是设置文本布局并呈现文本的库。
Download Pango, which is a library for laying out and rendering of text.
因为这个按钮现在没有背景,我们必须设置文本颜色来突出显示。
Since this Button now has no background. We must set the text color to indicate focus.
用明亮的颜色绘画和写作。你也可以用电脑帮助你设置文本和图片。
Use bright colours for your drawings and writing. You can also use a computer to help you set the text and the pictures.
可定制的界面,可以设置文本颜色、框架颜色和宽度、导航栏的位置。
Customizable interface - Set text color, frame color and width, navigation position.
该模板将使用元素的height属性设置文本行的字体(并因此设置行的高度)。
The template sets the font for the line of text (and, therefore, the height of the line) using the element's height attribute.
SideNote对象具有为复选标记设置文本并查看当用户关闭它时此选项是否还被选中的能力。
The SideNote object has the ability to set the text for a check mark and see if the option was checked when the user closed it.
如果事件类型为Text则获得文本节点值,并在相应的TextView小部件上设置文本节点值。
Obtain the text node values if the event type is text and set the text node values on the corresponding TextView widgets.
这个applet显示了用户输入富文本(可设置文本为粗体、斜体、文本颜色等等)的区域。
This applet displays a field where the user can enter rich text (text that you can format as bold, italic, in colors, and so forth).
您必须创建自己的表格模型,并编写相关原代码,设置文本域中的文本,为按钮添加操作监听器,并在表格上设置表格模型。
You must create your own table models - plus edit the source code - to set text on textfields, add action listeners to buttons, and set table models on tables.
作为一个开发人员,在使用常见的设置文本大小的方法时,需要知道PC和macintosh机上文本的最大尺寸。
As a developer, you need to know the maximum size text can be when using common text sizing methods for PCs and Macintosh computers.
因为我想做的,需要一个编辑框的文本值从一个片段的正确方法是什么,和设置文本在编辑框中的另一个片段的任何一页了?
For what I'm trying to do, what is the correct method to call for the text value of an EditText from one fragment, and set that text in an EditText in another fragment anytime a page is changed?
考虑这样一个场景,开发人员在扩展Label 时不小心选择了在updateDisplayList()方法中设置文本属性。
Consider a case where a developer is extending a Label and inadvertently chooses to set the text property in the updateDisplayList() method. The practical consequence of this could be gruesome.
我将文本设置为海军蓝并添加一个淡紫色的背景颜色,以便这个图像从这个页面背景中凸显出来。
I've made the text navy blue and added a lavender background color to help the image stand out from this page background.
该数据库在其内部和成千上万的外部链接之间全部设置了超文本链接。
The database is fully hyperlinked both within the database and to thousands of external links.
这样服务器就可以将文本设置成任何内容。
This allows the server to set this text to virtually anything.
此外,该字段还必须设置为对文本出现时所在的整个行进行检索。
Additionally, the field component must be set to retrieve the entire row where the text can appear.
然后,与前一个程序相同,设置窗口标题文本并禁止用户调整其大小。
Then, just as in the previous program, you set the window title text and prevent it from being resized.
下面的代码示例说明了如何设置JMS文本消息的内容。
A code sample below illustrates how you could set the contents of a JMS text message.
下面的代码示例说明了如何设置JMS文本消息的内容。
A code sample below illustrates how you could set the contents of a JMS text message.
应用推荐