當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。