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


Java Padding类代码示例

本文整理汇总了Java中cz.vutbr.web.css.CSSProperty.Padding的典型用法代码示例。如果您正苦于以下问题:Java Padding类的具体用法?Java Padding怎么用?Java Padding使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Padding类属于cz.vutbr.web.css.CSSProperty包,在下文中一共展示了Padding类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: PaddingRepeater

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
public PaddingRepeater() {
	super(4);
	names.add("padding-top");
	names.add("padding-right");
	names.add("padding-bottom");
	names.add("padding-left");
	this.type = Padding.class;
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:9,代码来源:DeclarationTransformer.java

示例2: operation

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@Override
protected boolean operation(int i, Map<String, CSSProperty> properties,
		Map<String, Term<?>> values) {

	return genericTermIdent(type, terms.get(i), AVOID_INH,
			names.get(i), properties)
			|| genericTermLength(terms.get(i),
					names.get(i), Padding.length, false, properties,
					values)
			|| genericTerm(TermPercent.class, terms.get(i), names
					.get(i), Padding.percentage, false, properties,
					values);
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:14,代码来源:DeclarationTransformer.java

示例3: operation

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@Override
protected boolean operation(int i, Map<String, CSSProperty> properties,
		Map<String, Term<?>> values) {

	return genericTermIdent(type, terms.get(i), AVOID_INH,
			names.get(i), properties)
			|| genericTermLength(terms.get(i),
					names.get(i), Padding.length, ValueRange.DISALLOW_NEGATIVE, properties,
					values)
			|| genericTerm(TermPercent.class, terms.get(i), names
					.get(i), Padding.percentage, ValueRange.DISALLOW_NEGATIVE, properties,
					values);
}
 
开发者ID:radkovo,项目名称:jStyleParser,代码行数:14,代码来源:DeclarationTransformerImpl.java

示例4: processPaddingTop

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingTop(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, true, d, properties, values);
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:7,代码来源:DeclarationTransformer.java

示例5: processPaddingRight

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingRight(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, true, d, properties, values);
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:7,代码来源:DeclarationTransformer.java

示例6: processPaddingBottom

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingBottom(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, true, d, properties, values);
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:7,代码来源:DeclarationTransformer.java

示例7: processPaddingLeft

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingLeft(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, true, d, properties, values);
}
 
开发者ID:mantlik,项目名称:swingbox-javahelp-viewer,代码行数:7,代码来源:DeclarationTransformer.java

示例8: processPaddingTop

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingTop(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
 
开发者ID:radkovo,项目名称:jStyleParser,代码行数:7,代码来源:DeclarationTransformerImpl.java

示例9: processPaddingRight

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingRight(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
 
开发者ID:radkovo,项目名称:jStyleParser,代码行数:7,代码来源:DeclarationTransformerImpl.java

示例10: processPaddingBottom

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingBottom(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
 
开发者ID:radkovo,项目名称:jStyleParser,代码行数:7,代码来源:DeclarationTransformerImpl.java

示例11: processPaddingLeft

import cz.vutbr.web.css.CSSProperty.Padding; //导入依赖的package包/类
@SuppressWarnings("unused")
private boolean processPaddingLeft(Declaration d,
		Map<String, CSSProperty> properties, Map<String, Term<?>> values) {
	return genericOneIdentOrLengthOrPercent(Padding.class, Padding.length,
			Padding.percentage, ValueRange.DISALLOW_NEGATIVE, d, properties, values);
}
 
开发者ID:radkovo,项目名称:jStyleParser,代码行数:7,代码来源:DeclarationTransformerImpl.java


注:本文中的cz.vutbr.web.css.CSSProperty.Padding类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。