class UIFrame extends UIElement {

	public void setAnchorOffset(final UIAnchorSide side, final String offset) {
		if (this.offset == DFLT_OFFSET) {
			if (ZERO.equals(offset)) {
				return;
			}
			this.offset = new String[] { ZERO, ZERO, ZERO, ZERO };
		}
		this.offset[side.ordinal()] = ZERO.equals(offset) ? ZERO : StringInterner.intern(offset);
		if (ZERO.equals(this.offset[0]) && ZERO.equals(this.offset[1]) && ZERO.equals(this.offset[2]) &&
				ZERO.equals(this.offset[3])) {
			this.offset = DFLT_OFFSET;
		}
	}

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

}