public class LinkOptionResize
extends de.fau.cs.osr.ptk.common.ast.LeafNode
LinkOptionResize ::= Ws* Digit+ Space* 'px' Ws*
LinkOptionResize ::= Ws* Digit+ 'x' Digit* Space* 'px' Ws*
LinkOptionResize ::= Ws* 'x' Digit+ Space* 'px' Ws*
If heightString is null the first production matched.
If widthString is null the third production matched.
If both are null there is no information which production matched.
Otherwise the second production matched.
If one of the dimensions is missing the value of the width/height is set to -1.
| Constructor and Description |
|---|
LinkOptionResize() |
LinkOptionResize(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getNodeType() |
int |
getPropertyCount() |
int |
getWidth() |
de.fau.cs.osr.ptk.common.ast.AstNodePropertyIterator |
propertyIterator() |
int |
setHeight(int height) |
int |
setWidth(int width) |
add, add, addAll, addAll, addAll, childrenHash, clear, clearAttributes, clone, contains, containsAll, defaultDeserializeFrom, defaultSerializeTo, deserializeAttributes, deserializeChildren, deserializeFrom, deserializeProperties, equals, equals, get, getAttribute, getAttributes, getBooleanAttribute, getIntAttribute, getLocation, getNativeLocation, getNodeName, getNodeTypeName, getProperty, getStringAttribute, hasAttribute, hasAttributes, hashCode, hasLocation, hasProperties, indexOf, isEmpty, isList, isNodeType, iterator, lastIndexOf, listIterator, listIterator, propertyHash, remove, remove, removeAll, removeAttribute, retainAll, serializeAttributes, serializeChildren, serializeProperties, serializeTo, set, setAttribute, setAttributes, setBooleanAttribute, setIntAttribute, setLocation, setLocation, setNativeLocation, setProperty, setStringAttribute, subList, toArray, toArray, toStringpublic LinkOptionResize()
public LinkOptionResize(int width,
int height)
public int getNodeType()
getNodeType in class de.fau.cs.osr.ptk.common.ast.AstNodepublic final int getWidth()
public final int setWidth(int width)
public final int getHeight()
public final int setHeight(int height)
public final int getPropertyCount()
getPropertyCount in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacegetPropertyCount in class de.fau.cs.osr.ptk.common.ast.AstNodepublic final de.fau.cs.osr.ptk.common.ast.AstNodePropertyIterator propertyIterator()
propertyIterator in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepropertyIterator in class de.fau.cs.osr.ptk.common.ast.AstNodeCopyright © 2010-2012 University of Erlangen-Nürnberg - Open Source Research Group. All Rights Reserved.