0001: /*
0002: ItsNat Java Web Application Framework
0003: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
0004: Author: Jose Maria Arranz Santamaria
0005:
0006: This program is free software: you can redistribute it and/or modify
0007: it under the terms of the GNU Affero General Public License as published by
0008: the Free Software Foundation, either version 3 of the License, or
0009: (at your option) any later version. See the GNU Affero General Public
0010: License for more details. See the copy of the GNU Affero General Public License
0011: included in this program. If not, see <http://www.gnu.org/licenses/>.
0012: */
0013:
0014: package org.itsnat.impl.core.css;
0015:
0016: import org.itsnat.impl.core.dom.ItsNatElementImpl;
0017: import org.w3c.dom.DOMException;
0018: import org.w3c.dom.css.CSS2Properties;
0019:
0020: /**
0021: *
0022: * @author jmarranz
0023: */
0024: public class CSS2PropertiesImpl extends CSSStyleDeclarationImpl
0025: implements CSS2Properties {
0026:
0027: /** Creates a new instance of CSS2PropertiesImpl */
0028: public CSS2PropertiesImpl(ItsNatElementImpl parent) {
0029: super (parent);
0030: }
0031:
0032: private String getPropertyValueInternal(String propertyName) {
0033: return getPropertyValue(propertyName);
0034: }
0035:
0036: private void setPropertyValueInternal(String propertyName,
0037: String value) {
0038: // Son tantas las propiedades que unificamos en un sóo sitio todo lo que se haga común por si acaso
0039: // hay que hacer algo más
0040: setProperty(propertyName, value, "");
0041: }
0042:
0043: public String getAzimuth() {
0044: return getPropertyValueInternal("azimuth");
0045: }
0046:
0047: public void setAzimuth(String azimuth) throws DOMException {
0048: setPropertyValueInternal("azimuth", azimuth);
0049: }
0050:
0051: public String getBackground() {
0052: return getPropertyValueInternal("background");
0053: }
0054:
0055: public void setBackground(String background) throws DOMException {
0056: setPropertyValueInternal("background", background);
0057: }
0058:
0059: public String getBackgroundAttachment() {
0060: return getPropertyValueInternal("background-attachment");
0061: }
0062:
0063: public void setBackgroundAttachment(String backgroundAttachment)
0064: throws DOMException {
0065: setPropertyValueInternal("background-attachment",
0066: backgroundAttachment);
0067: }
0068:
0069: public String getBackgroundColor() {
0070: return getPropertyValueInternal("background-color");
0071: }
0072:
0073: public void setBackgroundColor(String backgroundColor)
0074: throws DOMException {
0075: setPropertyValueInternal("background-color", backgroundColor);
0076: }
0077:
0078: public String getBackgroundImage() {
0079: return getPropertyValueInternal("background-image");
0080: }
0081:
0082: public void setBackgroundImage(String backgroundImage)
0083: throws DOMException {
0084: setPropertyValueInternal("background-image", backgroundImage);
0085: }
0086:
0087: public String getBackgroundPosition() {
0088: return getPropertyValueInternal("background-position");
0089: }
0090:
0091: public void setBackgroundPosition(String backgroundPosition)
0092: throws DOMException {
0093: setPropertyValueInternal("background-position",
0094: backgroundPosition);
0095: }
0096:
0097: public String getBackgroundRepeat() {
0098: return getPropertyValueInternal("background-repeat");
0099: }
0100:
0101: public void setBackgroundRepeat(String backgroundRepeat)
0102: throws DOMException {
0103: setPropertyValueInternal("background-repeat", backgroundRepeat);
0104: }
0105:
0106: public String getBorder() {
0107: return getPropertyValueInternal("border");
0108: }
0109:
0110: public void setBorder(String border) throws DOMException {
0111: setPropertyValueInternal("border", border);
0112: }
0113:
0114: public String getBorderCollapse() {
0115: return getPropertyValueInternal("border-collapse");
0116: }
0117:
0118: public void setBorderCollapse(String borderCollapse)
0119: throws DOMException {
0120: setPropertyValueInternal("border-collapse", borderCollapse);
0121: }
0122:
0123: public String getBorderColor() {
0124: return getPropertyValueInternal("border-color");
0125: }
0126:
0127: public void setBorderColor(String borderColor) throws DOMException {
0128: setPropertyValueInternal("border-color", borderColor);
0129: }
0130:
0131: public String getBorderSpacing() {
0132: return getPropertyValueInternal("border-spacing");
0133: }
0134:
0135: public void setBorderSpacing(String borderSpacing)
0136: throws DOMException {
0137: setPropertyValueInternal("border-spacing", borderSpacing);
0138: }
0139:
0140: public String getBorderStyle() {
0141: return getPropertyValueInternal("border-style");
0142: }
0143:
0144: public void setBorderStyle(String borderStyle) throws DOMException {
0145: setPropertyValueInternal("border-style", borderStyle);
0146: }
0147:
0148: public String getBorderTop() {
0149: return getPropertyValueInternal("border-top");
0150: }
0151:
0152: public void setBorderTop(String borderTop) throws DOMException {
0153: setPropertyValueInternal("border-top", borderTop);
0154: }
0155:
0156: public String getBorderRight() {
0157: return getPropertyValueInternal("border-right");
0158: }
0159:
0160: public void setBorderRight(String borderRight) throws DOMException {
0161: setPropertyValueInternal("border-right", borderRight);
0162: }
0163:
0164: public String getBorderBottom() {
0165: return getPropertyValueInternal("border-bottom");
0166: }
0167:
0168: public void setBorderBottom(String borderBottom)
0169: throws DOMException {
0170: setPropertyValueInternal("border-bottom", borderBottom);
0171: }
0172:
0173: public String getBorderLeft() {
0174: return getPropertyValueInternal("border-left");
0175: }
0176:
0177: public void setBorderLeft(String borderLeft) throws DOMException {
0178: setPropertyValueInternal("border-left", borderLeft);
0179: }
0180:
0181: public String getBorderTopColor() {
0182: return getPropertyValueInternal("border-top-color");
0183: }
0184:
0185: public void setBorderTopColor(String borderTopColor)
0186: throws DOMException {
0187: setPropertyValueInternal("border-top-color", borderTopColor);
0188: }
0189:
0190: public String getBorderRightColor() {
0191: return getPropertyValueInternal("border-right-color");
0192: }
0193:
0194: public void setBorderRightColor(String borderRightColor)
0195: throws DOMException {
0196: setPropertyValueInternal("border-right-color", borderRightColor);
0197: }
0198:
0199: public String getBorderBottomColor() {
0200: return getPropertyValueInternal("border-bottom-color");
0201: }
0202:
0203: public void setBorderBottomColor(String borderBottomColor)
0204: throws DOMException {
0205: setPropertyValueInternal("border-bottom-color",
0206: borderBottomColor);
0207: }
0208:
0209: public String getBorderLeftColor() {
0210: return getPropertyValueInternal("border-left-color");
0211: }
0212:
0213: public void setBorderLeftColor(String borderLeftColor)
0214: throws DOMException {
0215: setPropertyValueInternal("border-left-color", borderLeftColor);
0216: }
0217:
0218: public String getBorderTopStyle() {
0219: return getPropertyValueInternal("border-top-style");
0220: }
0221:
0222: public void setBorderTopStyle(String borderTopStyle)
0223: throws DOMException {
0224: setPropertyValueInternal("border-top-style", borderTopStyle);
0225: }
0226:
0227: public String getBorderRightStyle() {
0228: return getPropertyValueInternal("border-right-style");
0229: }
0230:
0231: public void setBorderRightStyle(String borderRightStyle)
0232: throws DOMException {
0233: setPropertyValueInternal("border-right-style", borderRightStyle);
0234: }
0235:
0236: public String getBorderBottomStyle() {
0237: return getPropertyValueInternal("border-bottom-style");
0238: }
0239:
0240: public void setBorderBottomStyle(String borderBottomStyle)
0241: throws DOMException {
0242: setPropertyValueInternal("border-bottom-style",
0243: borderBottomStyle);
0244: }
0245:
0246: public String getBorderLeftStyle() {
0247: return getPropertyValueInternal("border-left-style");
0248: }
0249:
0250: public void setBorderLeftStyle(String borderLeftStyle)
0251: throws DOMException {
0252: setPropertyValueInternal("border-left-style", borderLeftStyle);
0253: }
0254:
0255: public String getBorderTopWidth() {
0256: return getPropertyValueInternal("border-top-width");
0257: }
0258:
0259: public void setBorderTopWidth(String borderTopWidth)
0260: throws DOMException {
0261: setPropertyValueInternal("border-top-width", borderTopWidth);
0262: }
0263:
0264: public String getBorderRightWidth() {
0265: return getPropertyValueInternal("border-right-width");
0266: }
0267:
0268: public void setBorderRightWidth(String borderRightWidth)
0269: throws DOMException {
0270: setPropertyValueInternal("border-right-width", borderRightWidth);
0271: }
0272:
0273: public String getBorderBottomWidth() {
0274: return getPropertyValueInternal("border-bottom-width");
0275: }
0276:
0277: public void setBorderBottomWidth(String borderBottomWidth)
0278: throws DOMException {
0279: setPropertyValueInternal("border-bottom-width",
0280: borderBottomWidth);
0281: }
0282:
0283: public String getBorderLeftWidth() {
0284: return getPropertyValueInternal("border-left-width");
0285: }
0286:
0287: public void setBorderLeftWidth(String borderLeftWidth)
0288: throws DOMException {
0289: setPropertyValueInternal("border-left-width", borderLeftWidth);
0290: }
0291:
0292: public String getBorderWidth() {
0293: return getPropertyValueInternal("border-width");
0294: }
0295:
0296: public void setBorderWidth(String borderWidth) throws DOMException {
0297: setPropertyValueInternal("border-width", borderWidth);
0298: }
0299:
0300: public String getBottom() {
0301: return getPropertyValueInternal("bottom");
0302: }
0303:
0304: public void setBottom(String bottom) throws DOMException {
0305: setPropertyValueInternal("bottom", bottom);
0306: }
0307:
0308: public String getCaptionSide() {
0309: return getPropertyValueInternal("caption-side");
0310: }
0311:
0312: public void setCaptionSide(String captionSide) throws DOMException {
0313: setPropertyValueInternal("caption-side", captionSide);
0314: }
0315:
0316: public String getClear() {
0317: return getPropertyValueInternal("clear");
0318: }
0319:
0320: public void setClear(String clear) throws DOMException {
0321: setPropertyValueInternal("clear", clear);
0322: }
0323:
0324: public String getClip() {
0325: return getPropertyValueInternal("clip");
0326: }
0327:
0328: public void setClip(String clip) throws DOMException {
0329: setPropertyValueInternal("clip", clip);
0330: }
0331:
0332: public String getColor() {
0333: return getPropertyValueInternal("color");
0334: }
0335:
0336: public void setColor(String color) throws DOMException {
0337: setPropertyValueInternal("color", color);
0338: }
0339:
0340: public String getContent() {
0341: return getPropertyValueInternal("content");
0342: }
0343:
0344: public void setContent(String content) throws DOMException {
0345: setPropertyValueInternal("content", content);
0346: }
0347:
0348: public String getCounterIncrement() {
0349: return getPropertyValueInternal("counter-increment");
0350: }
0351:
0352: public void setCounterIncrement(String counterIncrement)
0353: throws DOMException {
0354: setPropertyValueInternal("counter-increment", counterIncrement);
0355: }
0356:
0357: public String getCounterReset() {
0358: return getPropertyValueInternal("counter-reset");
0359: }
0360:
0361: public void setCounterReset(String counterReset)
0362: throws DOMException {
0363: setPropertyValueInternal("counter-reset", counterReset);
0364: }
0365:
0366: public String getCue() {
0367: return getPropertyValueInternal("cue");
0368: }
0369:
0370: public void setCue(String cue) throws DOMException {
0371: setPropertyValueInternal("cue", cue);
0372: }
0373:
0374: public String getCueAfter() {
0375: return getPropertyValueInternal("cue-after");
0376: }
0377:
0378: public void setCueAfter(String cueAfter) throws DOMException {
0379: setPropertyValueInternal("cue-after", cueAfter);
0380: }
0381:
0382: public String getCueBefore() {
0383: return getPropertyValueInternal("cue-before");
0384: }
0385:
0386: public void setCueBefore(String cueBefore) throws DOMException {
0387: setPropertyValueInternal("cue-before", cueBefore);
0388: }
0389:
0390: public String getCursor() {
0391: return getPropertyValueInternal("cursor");
0392: }
0393:
0394: public void setCursor(String cursor) throws DOMException {
0395: setPropertyValueInternal("cursor", cursor);
0396: }
0397:
0398: public String getDirection() {
0399: return getPropertyValueInternal("direction");
0400: }
0401:
0402: public void setDirection(String direction) throws DOMException {
0403: setPropertyValueInternal("direction", direction);
0404: }
0405:
0406: public String getDisplay() {
0407: return getPropertyValueInternal("display");
0408: }
0409:
0410: public void setDisplay(String display) throws DOMException {
0411: setPropertyValueInternal("display", display);
0412: }
0413:
0414: public String getElevation() {
0415: return getPropertyValueInternal("elevation");
0416: }
0417:
0418: public void setElevation(String elevation) throws DOMException {
0419: setPropertyValueInternal("elevation", elevation);
0420: }
0421:
0422: public String getEmptyCells() {
0423: return getPropertyValueInternal("empty-cells");
0424: }
0425:
0426: public void setEmptyCells(String emptyCells) throws DOMException {
0427: setPropertyValueInternal("empty-cells", emptyCells);
0428: }
0429:
0430: public String getCssFloat() {
0431: return getPropertyValueInternal("float");
0432: }
0433:
0434: public void setCssFloat(String cssFloat) throws DOMException {
0435: setPropertyValueInternal("float", cssFloat);
0436: }
0437:
0438: public String getFont() {
0439: return getPropertyValueInternal("font");
0440: }
0441:
0442: public void setFont(String font) throws DOMException {
0443: setPropertyValueInternal("font", font);
0444: }
0445:
0446: public String getFontFamily() {
0447: return getPropertyValueInternal("font-family");
0448: }
0449:
0450: public void setFontFamily(String fontFamily) throws DOMException {
0451: setPropertyValueInternal("font-family", fontFamily);
0452: }
0453:
0454: public String getFontSize() {
0455: return getPropertyValueInternal("font-size");
0456: }
0457:
0458: public void setFontSize(String fontSize) throws DOMException {
0459: setPropertyValueInternal("font-size", fontSize);
0460: }
0461:
0462: public String getFontSizeAdjust() {
0463: return getPropertyValueInternal("font-size-adjust");
0464: }
0465:
0466: public void setFontSizeAdjust(String fontSizeAdjust)
0467: throws DOMException {
0468: setPropertyValueInternal("font-size-adjust", fontSizeAdjust);
0469: }
0470:
0471: public String getFontStretch() {
0472: return getPropertyValueInternal("font-strech");
0473: }
0474:
0475: public void setFontStretch(String fontStretch) throws DOMException {
0476: setPropertyValueInternal("font-strech", fontStretch);
0477: }
0478:
0479: public String getFontStyle() {
0480: return getPropertyValueInternal("font-style");
0481: }
0482:
0483: public void setFontStyle(String fontStyle) throws DOMException {
0484: setPropertyValueInternal("font-style", fontStyle);
0485: }
0486:
0487: public String getFontVariant() {
0488: return getPropertyValueInternal("font-variant");
0489: }
0490:
0491: public void setFontVariant(String fontVariant) throws DOMException {
0492: setPropertyValueInternal("font-variant", fontVariant);
0493: }
0494:
0495: public String getFontWeight() {
0496: return getPropertyValueInternal("font-weight");
0497: }
0498:
0499: public void setFontWeight(String fontWeight) throws DOMException {
0500: setPropertyValueInternal("font-weight", fontWeight);
0501: }
0502:
0503: public String getHeight() {
0504: return getPropertyValueInternal("height");
0505: }
0506:
0507: public void setHeight(String height) throws DOMException {
0508: setPropertyValueInternal("height", height);
0509: }
0510:
0511: public String getLeft() {
0512: return getPropertyValueInternal("left");
0513: }
0514:
0515: public void setLeft(String left) throws DOMException {
0516: setPropertyValueInternal("left", left);
0517: }
0518:
0519: public String getLetterSpacing() {
0520: return getPropertyValueInternal("letter-spacing");
0521: }
0522:
0523: public void setLetterSpacing(String letterSpacing)
0524: throws DOMException {
0525: setPropertyValueInternal("letter-spacing", letterSpacing);
0526: }
0527:
0528: public String getLineHeight() {
0529: return getPropertyValueInternal("line-height");
0530: }
0531:
0532: public void setLineHeight(String lineHeight) throws DOMException {
0533: setPropertyValueInternal("line-height", lineHeight);
0534: }
0535:
0536: public String getListStyle() {
0537: return getPropertyValueInternal("list-style");
0538: }
0539:
0540: public void setListStyle(String listStyle) throws DOMException {
0541: setPropertyValueInternal("list-style", listStyle);
0542: }
0543:
0544: public String getListStyleImage() {
0545: return getPropertyValueInternal("list-style-image");
0546: }
0547:
0548: public void setListStyleImage(String listStyleImage)
0549: throws DOMException {
0550: setPropertyValueInternal("list-style-image", listStyleImage);
0551: }
0552:
0553: public String getListStylePosition() {
0554: return getPropertyValueInternal("list-style-position");
0555: }
0556:
0557: public void setListStylePosition(String listStylePosition)
0558: throws DOMException {
0559: setPropertyValueInternal("list-style-position",
0560: listStylePosition);
0561: }
0562:
0563: public String getListStyleType() {
0564: return getPropertyValueInternal("list-style-type");
0565: }
0566:
0567: public void setListStyleType(String listStyleType)
0568: throws DOMException {
0569: setPropertyValueInternal("list-style-type", listStyleType);
0570: }
0571:
0572: public String getMargin() {
0573: return getPropertyValueInternal("margin");
0574: }
0575:
0576: public void setMargin(String margin) throws DOMException {
0577: setPropertyValueInternal("margin", margin);
0578: }
0579:
0580: public String getMarginTop() {
0581: return getPropertyValueInternal("margin-top");
0582: }
0583:
0584: public void setMarginTop(String marginTop) throws DOMException {
0585: setPropertyValueInternal("margin-top", marginTop);
0586: }
0587:
0588: public String getMarginRight() {
0589: return getPropertyValueInternal("margin-right");
0590: }
0591:
0592: public void setMarginRight(String marginRight) throws DOMException {
0593: setPropertyValueInternal("margin-right", marginRight);
0594: }
0595:
0596: public String getMarginBottom() {
0597: return getPropertyValueInternal("margin-bottom");
0598: }
0599:
0600: public void setMarginBottom(String marginBottom)
0601: throws DOMException {
0602: setPropertyValueInternal("margin-bottom", marginBottom);
0603: }
0604:
0605: public String getMarginLeft() {
0606: return getPropertyValueInternal("margin-left");
0607: }
0608:
0609: public void setMarginLeft(String marginLeft) throws DOMException {
0610: setPropertyValueInternal("margin-left", marginLeft);
0611: }
0612:
0613: public String getMarkerOffset() {
0614: return getPropertyValueInternal("marker-offset");
0615: }
0616:
0617: public void setMarkerOffset(String markerOffset)
0618: throws DOMException {
0619: setPropertyValueInternal("marker-offset", markerOffset);
0620: }
0621:
0622: public String getMarks() {
0623: return getPropertyValueInternal("marks");
0624: }
0625:
0626: public void setMarks(String marks) throws DOMException {
0627: setPropertyValueInternal("marks", marks);
0628: }
0629:
0630: public String getMaxHeight() {
0631: return getPropertyValueInternal("max-height");
0632: }
0633:
0634: public void setMaxHeight(String maxHeight) throws DOMException {
0635: setPropertyValueInternal("max-height", maxHeight);
0636: }
0637:
0638: public String getMaxWidth() {
0639: return getPropertyValueInternal("max-width");
0640: }
0641:
0642: public void setMaxWidth(String maxWidth) throws DOMException {
0643: setPropertyValueInternal("max-width", maxWidth);
0644: }
0645:
0646: public String getMinHeight() {
0647: return getPropertyValueInternal("min-height");
0648: }
0649:
0650: public void setMinHeight(String minHeight) throws DOMException {
0651: setPropertyValueInternal("min-height", minHeight);
0652: }
0653:
0654: public String getMinWidth() {
0655: return getPropertyValueInternal("min-width");
0656: }
0657:
0658: public void setMinWidth(String minWidth) throws DOMException {
0659: setPropertyValueInternal("min-width", minWidth);
0660: }
0661:
0662: public String getOrphans() {
0663: return getPropertyValueInternal("orphans");
0664: }
0665:
0666: public void setOrphans(String orphans) throws DOMException {
0667: setPropertyValueInternal("orphans", orphans);
0668: }
0669:
0670: public String getOutline() {
0671: return getPropertyValueInternal("outline");
0672: }
0673:
0674: public void setOutline(String outline) throws DOMException {
0675: setPropertyValueInternal("outline", outline);
0676: }
0677:
0678: public String getOutlineColor() {
0679: return getPropertyValueInternal("outline-color");
0680: }
0681:
0682: public void setOutlineColor(String outlineColor)
0683: throws DOMException {
0684: setPropertyValueInternal("outline-color", outlineColor);
0685: }
0686:
0687: public String getOutlineStyle() {
0688: return getPropertyValueInternal("outline-style");
0689: }
0690:
0691: public void setOutlineStyle(String outlineStyle)
0692: throws DOMException {
0693: setPropertyValueInternal("outline-style", outlineStyle);
0694: }
0695:
0696: public String getOutlineWidth() {
0697: return getPropertyValueInternal("outline-width");
0698: }
0699:
0700: public void setOutlineWidth(String outlineWidth)
0701: throws DOMException {
0702: setPropertyValueInternal("outline-width", outlineWidth);
0703: }
0704:
0705: public String getOverflow() {
0706: return getPropertyValueInternal("overflow");
0707: }
0708:
0709: public void setOverflow(String overflow) throws DOMException {
0710: setPropertyValueInternal("overflow", overflow);
0711: }
0712:
0713: public String getPadding() {
0714: return getPropertyValueInternal("padding");
0715: }
0716:
0717: public void setPadding(String padding) throws DOMException {
0718: setPropertyValueInternal("padding", padding);
0719: }
0720:
0721: public String getPaddingTop() {
0722: return getPropertyValueInternal("padding-top");
0723: }
0724:
0725: public void setPaddingTop(String paddingTop) throws DOMException {
0726: setPropertyValueInternal("padding-top", paddingTop);
0727: }
0728:
0729: public String getPaddingRight() {
0730: return getPropertyValueInternal("padding-right");
0731: }
0732:
0733: public void setPaddingRight(String paddingRight)
0734: throws DOMException {
0735: setPropertyValueInternal("padding-right", paddingRight);
0736: }
0737:
0738: public String getPaddingBottom() {
0739: return getPropertyValueInternal("padding-bottom");
0740: }
0741:
0742: public void setPaddingBottom(String paddingBottom)
0743: throws DOMException {
0744: setPropertyValueInternal("padding-bottom", paddingBottom);
0745: }
0746:
0747: public String getPaddingLeft() {
0748: return getPropertyValueInternal("padding-left");
0749: }
0750:
0751: public void setPaddingLeft(String paddingLeft) throws DOMException {
0752: setPropertyValueInternal("padding-left", paddingLeft);
0753: }
0754:
0755: public String getPage() {
0756: return getPropertyValueInternal("page");
0757: }
0758:
0759: public void setPage(String page) throws DOMException {
0760: setPropertyValueInternal("page", page);
0761: }
0762:
0763: public String getPageBreakAfter() {
0764: return getPropertyValueInternal("page-break-after");
0765: }
0766:
0767: public void setPageBreakAfter(String pageBreakAfter)
0768: throws DOMException {
0769: setPropertyValueInternal("page-break-after", pageBreakAfter);
0770: }
0771:
0772: public String getPageBreakBefore() {
0773: return getPropertyValueInternal("page-break-before");
0774: }
0775:
0776: public void setPageBreakBefore(String pageBreakBefore)
0777: throws DOMException {
0778: setPropertyValueInternal("page-break-before", pageBreakBefore);
0779: }
0780:
0781: public String getPageBreakInside() {
0782: return getPropertyValueInternal("page-break-inside");
0783: }
0784:
0785: public void setPageBreakInside(String pageBreakInside)
0786: throws DOMException {
0787: setPropertyValueInternal("page-break-inside", pageBreakInside);
0788: }
0789:
0790: public String getPause() {
0791: return getPropertyValueInternal("pause");
0792: }
0793:
0794: public void setPause(String pause) throws DOMException {
0795: setPropertyValueInternal("pause", pause);
0796: }
0797:
0798: public String getPauseAfter() {
0799: return getPropertyValueInternal("pause-after");
0800: }
0801:
0802: public void setPauseAfter(String pauseAfter) throws DOMException {
0803: setPropertyValueInternal("pause-after", pauseAfter);
0804: }
0805:
0806: public String getPauseBefore() {
0807: return getPropertyValueInternal("pause-before");
0808: }
0809:
0810: public void setPauseBefore(String pauseBefore) throws DOMException {
0811: setPropertyValueInternal("pause-before", pauseBefore);
0812: }
0813:
0814: public String getPitch() {
0815: return getPropertyValueInternal("pitch");
0816: }
0817:
0818: public void setPitch(String pitch) throws DOMException {
0819: setPropertyValueInternal("pitch", pitch);
0820: }
0821:
0822: public String getPitchRange() {
0823: return getPropertyValueInternal("pitch-range");
0824: }
0825:
0826: public void setPitchRange(String pitchRange) throws DOMException {
0827: setPropertyValueInternal("pitch-range", pitchRange);
0828: }
0829:
0830: public String getPlayDuring() {
0831: return getPropertyValueInternal("play-during");
0832: }
0833:
0834: public void setPlayDuring(String playDuring) throws DOMException {
0835: setPropertyValueInternal("play-during", playDuring);
0836: }
0837:
0838: public String getPosition() {
0839: return getPropertyValueInternal("position");
0840: }
0841:
0842: public void setPosition(String position) throws DOMException {
0843: setPropertyValueInternal("position", position);
0844: }
0845:
0846: public String getQuotes() {
0847: return getPropertyValueInternal("quotes");
0848: }
0849:
0850: public void setQuotes(String quotes) throws DOMException {
0851: setPropertyValueInternal("quotes", quotes);
0852: }
0853:
0854: public String getRichness() {
0855: return getPropertyValueInternal("richness");
0856: }
0857:
0858: public void setRichness(String richness) throws DOMException {
0859: setPropertyValueInternal("richness", richness);
0860: }
0861:
0862: public String getRight() {
0863: return getPropertyValueInternal("right");
0864: }
0865:
0866: public void setRight(String right) throws DOMException {
0867: setPropertyValueInternal("right", right);
0868: }
0869:
0870: public String getSize() {
0871: return getPropertyValueInternal("size");
0872: }
0873:
0874: public void setSize(String size) throws DOMException {
0875: setPropertyValueInternal("size", size);
0876: }
0877:
0878: public String getSpeak() {
0879: return getPropertyValueInternal("speak");
0880: }
0881:
0882: public void setSpeak(String speak) throws DOMException {
0883: setPropertyValueInternal("speak", speak);
0884: }
0885:
0886: public String getSpeakHeader() {
0887: return getPropertyValueInternal("speak-header");
0888: }
0889:
0890: public void setSpeakHeader(String speakHeader) throws DOMException {
0891: setPropertyValueInternal("speak-header", speakHeader);
0892: }
0893:
0894: public String getSpeakNumeral() {
0895: return getPropertyValueInternal("speak-numeral");
0896: }
0897:
0898: public void setSpeakNumeral(String speakNumeral)
0899: throws DOMException {
0900: setPropertyValueInternal("speak-numeral", speakNumeral);
0901: }
0902:
0903: public String getSpeakPunctuation() {
0904: return getPropertyValueInternal("speak-punctuation");
0905: }
0906:
0907: public void setSpeakPunctuation(String speakPunctuation)
0908: throws DOMException {
0909: setPropertyValueInternal("speak-punctuation", speakPunctuation);
0910: }
0911:
0912: public String getSpeechRate() {
0913: return getPropertyValueInternal("speech-rate");
0914: }
0915:
0916: public void setSpeechRate(String speechRate) throws DOMException {
0917: setPropertyValueInternal("speech-rate", speechRate);
0918: }
0919:
0920: public String getStress() {
0921: return getPropertyValueInternal("stress");
0922: }
0923:
0924: public void setStress(String stress) throws DOMException {
0925: setPropertyValueInternal("stress", stress);
0926: }
0927:
0928: public String getTableLayout() {
0929: return getPropertyValueInternal("table-layout");
0930: }
0931:
0932: public void setTableLayout(String tableLayout) throws DOMException {
0933: setPropertyValueInternal("table-layout", tableLayout);
0934: }
0935:
0936: public String getTextAlign() {
0937: return getPropertyValueInternal("text-align");
0938: }
0939:
0940: public void setTextAlign(String textAlign) throws DOMException {
0941: setPropertyValueInternal("text-align", textAlign);
0942: }
0943:
0944: public String getTextDecoration() {
0945: return getPropertyValueInternal("text-decoration");
0946: }
0947:
0948: public void setTextDecoration(String textDecoration)
0949: throws DOMException {
0950: setPropertyValueInternal("text-decoration", textDecoration);
0951: }
0952:
0953: public String getTextIndent() {
0954: return getPropertyValueInternal("text-indent");
0955: }
0956:
0957: public void setTextIndent(String textIndent) throws DOMException {
0958: setPropertyValueInternal("text-indent", textIndent);
0959: }
0960:
0961: public String getTextShadow() {
0962: return getPropertyValueInternal("text-shadow");
0963: }
0964:
0965: public void setTextShadow(String textShadow) throws DOMException {
0966: setPropertyValueInternal("text-shadow", textShadow);
0967: }
0968:
0969: public String getTextTransform() {
0970: return getPropertyValueInternal("text-transform");
0971: }
0972:
0973: public void setTextTransform(String textTransform)
0974: throws DOMException {
0975: setPropertyValueInternal("text-transform", textTransform);
0976: }
0977:
0978: public String getTop() {
0979: return getPropertyValueInternal("top");
0980: }
0981:
0982: public void setTop(String top) throws DOMException {
0983: setPropertyValueInternal("top", top);
0984: }
0985:
0986: public String getUnicodeBidi() {
0987: return getPropertyValueInternal("unicode-bidi");
0988: }
0989:
0990: public void setUnicodeBidi(String unicodeBidi) throws DOMException {
0991: setPropertyValueInternal("unicode-bidi", unicodeBidi);
0992: }
0993:
0994: public String getVerticalAlign() {
0995: return getPropertyValueInternal("vertical-align");
0996: }
0997:
0998: public void setVerticalAlign(String verticalAlign)
0999: throws DOMException {
1000: setPropertyValueInternal("vertical-align", verticalAlign);
1001: }
1002:
1003: public String getVisibility() {
1004: return getPropertyValueInternal("visibility");
1005: }
1006:
1007: public void setVisibility(String visibility) throws DOMException {
1008: setPropertyValueInternal("visibility", visibility);
1009: }
1010:
1011: public String getVoiceFamily() {
1012: return getPropertyValueInternal("voice-family");
1013: }
1014:
1015: public void setVoiceFamily(String voiceFamily) throws DOMException {
1016: setPropertyValueInternal("voice-family", voiceFamily);
1017: }
1018:
1019: public String getVolume() {
1020: return getPropertyValueInternal("volume");
1021: }
1022:
1023: public void setVolume(String volume) throws DOMException {
1024: setPropertyValueInternal("volume", volume);
1025: }
1026:
1027: public String getWhiteSpace() {
1028: return getPropertyValueInternal("white-space");
1029: }
1030:
1031: public void setWhiteSpace(String whiteSpace) throws DOMException {
1032: setPropertyValueInternal("white-space", whiteSpace);
1033: }
1034:
1035: public String getWidows() {
1036: return getPropertyValueInternal("widows");
1037: }
1038:
1039: public void setWidows(String widows) throws DOMException {
1040: setPropertyValueInternal("widows", widows);
1041: }
1042:
1043: public String getWidth() {
1044: return getPropertyValueInternal("width");
1045: }
1046:
1047: public void setWidth(String width) throws DOMException {
1048: setPropertyValueInternal("width", width);
1049: }
1050:
1051: public String getWordSpacing() {
1052: return getPropertyValueInternal("word-spacing");
1053: }
1054:
1055: public void setWordSpacing(String wordSpacing) throws DOMException {
1056: setPropertyValueInternal("word-spacing", wordSpacing);
1057: }
1058:
1059: public String getZIndex() {
1060: return getPropertyValueInternal("z-index");
1061: }
1062:
1063: public void setZIndex(String zIndex) throws DOMException {
1064: setPropertyValueInternal("z-index", zIndex);
1065: }
1066:
1067: }
|