本文整理汇总了Java中cz.vutbr.web.css.CSSProperty.BorderRadius类的典型用法代码示例。如果您正苦于以下问题:Java BorderRadius类的具体用法?Java BorderRadius怎么用?Java BorderRadius使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BorderRadius类属于cz.vutbr.web.css.CSSProperty包,在下文中一共展示了BorderRadius类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: operation
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@Override
protected boolean operation(int i, Map<String, CSSProperty> properties,
Map<String, Term<?>> values) {
Term<?> term = terms.get(i);
String name = names.get(i);
if (genericTermIdent(type, terms.get(i), AVOID_INH, names.get(i), properties))
{
return true;
}
else if (term instanceof TermList)
{
properties.put(name, BorderRadius.list_values);
values.put(name, term);
return true;
}
else
return false;
}
示例2: BorderRadiusRepeater
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
public BorderRadiusRepeater() {
super(4);
this.type = BorderRadius.class;
names.add("border-top-left-radius");
names.add("border-top-right-radius");
names.add("border-bottom-right-radius");
names.add("border-bottom-left-radius");
}
示例3: processBorderTopLeftRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderTopLeftRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, false, d, properties, values);
}
示例4: processBorderTopRightRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderTopRightRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, false, d, properties, values);
}
示例5: processBorderBottomRightRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderBottomRightRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, false, d, properties, values);
}
示例6: processBorderBottomLeftRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderBottomLeftRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, false, d, properties, values);
}
示例7: processBorderTopLeftRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderTopLeftRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
示例8: processBorderTopRightRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderTopRightRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
示例9: processBorderBottomRightRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderBottomRightRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
示例10: processBorderBottomLeftRadius
import cz.vutbr.web.css.CSSProperty.BorderRadius; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processBorderBottomLeftRadius(Declaration d,
Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
return genericTwoIdentsOrLengthsOrPercents(BorderRadius.class,
BorderRadius.list_values, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}