class UIFrame extends UIElement {

	public void setAnchorPos(final UIAnchorSide side, final String pos) {
		if (this.pos == DFLT_POS) {
			if (DFLT_POS[side.ordinal()].equalsIgnoreCase(pos)) {
				return;
			}
			this.pos = new String[] { MIN, MIN, MAX, MAX };
		}
		if (MAX.equalsIgnoreCase(pos)) {
			this.pos[side.ordinal()] = MAX;
		} else {
			this.pos[side.ordinal()] = MIN.equalsIgnoreCase(pos) ? MIN : StringInterner.intern(pos);
		}
		if (MIN.equals(this.pos[0]) && MIN.equals(this.pos[1]) && MAX.equals(this.pos[2]) && MAX.equals(this.pos[3])) {
			this.pos = DFLT_POS;
		}
	}

	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);

}