当前位置: 首页>>代码示例>>Java>>正文


Java TextLmlActorBuilder.getStyleName方法代码示例

本文整理汇总了Java中com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder.getStyleName方法的典型用法代码示例。如果您正苦于以下问题:Java TextLmlActorBuilder.getStyleName方法的具体用法?Java TextLmlActorBuilder.getStyleName怎么用?Java TextLmlActorBuilder.getStyleName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder的用法示例。


在下文中一共展示了TextLmlActorBuilder.getStyleName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getNewInstanceOfActor

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
protected Actor getNewInstanceOfActor(final TextLmlActorBuilder builder) {
    return new ExpandEditTextButton(builder.getText(), getSkin(builder), builder.getStyleName());
}
 
开发者ID:crashinvaders,项目名称:gdx-texture-packer-gui,代码行数:4,代码来源:ExpandEditTextButton.java

示例2: getNewInstanceOfActor

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected Actor getNewInstanceOfActor(LmlActorBuilder builder) {
    TextLmlActorBuilder textBuilder = (TextLmlActorBuilder) builder;
    return new CodeTextArea(textBuilder.getText(), getSkin(textBuilder), textBuilder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:CodeTextArea.java

示例3: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
/** @param textBuilder contains initial text data and style.
 * @return a new instance of TextField. */
protected TextField getNewInstanceOfTextField(final TextLmlActorBuilder textBuilder) {
    return new TextField(textBuilder.getText(), getSkin(textBuilder), textBuilder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:TextFieldLmlTag.java

示例4: getNewInstanceOfTextButton

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
/** @param builder contains data necessary to construct a text button.
 * @return a new instance of TextButton. */
protected TextButton getNewInstanceOfTextButton(final TextLmlActorBuilder builder) {
    return new TextButton(builder.getText(), getSkin(builder), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:TextButtonLmlTag.java

示例5: getNewInstanceOfTextButton

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected CheckBox getNewInstanceOfTextButton(final TextLmlActorBuilder builder) {
    return new CheckBox(builder.getText(), getSkin(builder), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:5,代码来源:CheckBoxLmlTag.java

示例6: getNewInstanceOfWindow

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
/** @param builder contains data necessary to constuct a window.
 * @return a new instance of Window actor. */
protected Window getNewInstanceOfWindow(final TextLmlActorBuilder builder) {
    return new Window(builder.getText(), getSkin(builder), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:WindowLmlTag.java

示例7: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected TextField getNewInstanceOfTextField(final TextLmlActorBuilder textBuilder) {
    final TextArea textArea = new TextArea(textBuilder.getText(), getSkin(textBuilder), textBuilder.getStyleName());
    LmlUtilities.getLmlUserObject(textArea).setData(Boolean.TRUE); // Setting as multiline by default.
    return textArea;
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:7,代码来源:TextAreaLmlTag.java

示例8: getNewInstanceOfWindow

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected Dialog getNewInstanceOfWindow(final TextLmlActorBuilder builder) {
    return new ReflectedLmlDialog(builder.getText(), getSkin(builder), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:5,代码来源:DialogLmlTag.java

示例9: getNewInstanceOfActor

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected Actor getNewInstanceOfActor(final LmlActorBuilder builder) {
    final TextLmlActorBuilder textBuilder = (TextLmlActorBuilder) builder;
    return new Label(textBuilder.getText(), getSkin(builder), textBuilder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:LabelLmlTag.java

示例10: getNewInstanceOfTextButton

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected TextButton getNewInstanceOfTextButton(final TextLmlActorBuilder builder) {
    return new VisCheckBox(builder.getText(), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:5,代码来源:VisCheckBoxLmlTag.java

示例11: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
/** @param textBuilder contains initial text data and style.
 * @return a new instance of {@link VisTextField}. */
protected VisTextField getNewInstanceOfTextField(final TextLmlActorBuilder textBuilder) {
    return new VisTextField(textBuilder.getText(), textBuilder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:6,代码来源:VisTextFieldLmlTag.java

示例12: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected VisTextField getNewInstanceOfTextField(TextLmlActorBuilder textBuilder) {
    final ScrollableTextArea textArea = new ScrollableTextArea(textBuilder.getText(), textBuilder.getStyleName());
    LmlUtilities.getLmlUserObject(textArea).setData(Boolean.TRUE); // Setting as multiline by default.
    return textArea;
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:7,代码来源:ScrollableTextAreaLmlTag.java

示例13: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected VisTextField getNewInstanceOfTextField(TextLmlActorBuilder textBuilder) {
    final HighlightTextArea textArea = new HighlightTextArea(textBuilder.getText(), textBuilder.getStyleName());
    LmlUtilities.getLmlUserObject(textArea).setData(Boolean.TRUE); // Setting as multiline by default.
    return textArea;
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:7,代码来源:HighlightTextAreaLmlTag.java

示例14: getNewInstanceOfTextField

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected VisTextField getNewInstanceOfTextField(final TextLmlActorBuilder textBuilder) {
    final VisTextArea textArea = new VisTextArea(textBuilder.getText(), textBuilder.getStyleName());
    LmlUtilities.getLmlUserObject(textArea).setData(Boolean.TRUE); // Setting as multiline by default.
    return textArea;
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:7,代码来源:VisTextAreaLmlTag.java

示例15: getNewInstanceOfTextButton

import com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder; //导入方法依赖的package包/类
@Override
protected TextButton getNewInstanceOfTextButton(final TextLmlActorBuilder builder) {
    return new VisTextButton(builder.getText(), builder.getStyleName());
}
 
开发者ID:czyzby,项目名称:gdx-lml,代码行数:5,代码来源:VisTextButtonLmlTag.java


注:本文中的com.github.czyzby.lml.parser.impl.tag.builder.TextLmlActorBuilder.getStyleName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。