class UIFrame extends UIElement {

	public void setAnchorRelative(final UIAnchorSide side, final String relative) {
		if (this.relative == DFLT_RELATIVE) {
			if (THIS.equalsIgnoreCase(relative)) {
				return;
			}
			this.relative = new String[] { THIS, THIS, THIS, THIS };
		}
		this.relative[side.ordinal()] = THIS.equalsIgnoreCase(relative) ? THIS : StringInterner.intern(relative);
		if (THIS.equalsIgnoreCase(this.relative[0]) && THIS.equalsIgnoreCase(this.relative[1]) &&
				THIS.equalsIgnoreCase(this.relative[2]) && THIS.equalsIgnoreCase(this.relative[3])) {
			this.relative = DFLT_RELATIVE;
		}
	}

	public  UIFrame();
	public  UIFrame(final String name, final String type);
	public  UIFrame(final String name, final int initialAttributesCapacity, final int initialChildrenCapacity);
	public  UIFrame(final String name);

}