test_class.file: tools/galaxyLibrary/project/GalaxyLib/src/test/java/com/ahli/galaxy/ui/UIFrameTest.java
test_class.identifier: UIFrameTest
test_case.body: @Test
  	void setAnchorRelative() {
  		final UIFrame frame = new UIFrame("UIFrameTest_setAnchor");
  		
  		frame.setAnchorRelative(UIAnchorSide.BOTTOM, "$parent");
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.TOP));
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.LEFT));
  		assertEquals("$parent", frame.getAnchorRelative(UIAnchorSide.BOTTOM));
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.RIGHT));
  		assertEquals("MIN", frame.getAnchorPos(UIAnchorSide.TOP));
  		assertEquals("MIN", frame.getAnchorPos(UIAnchorSide.LEFT));
  		assertEquals("MAX", frame.getAnchorPos(UIAnchorSide.BOTTOM));
  		assertEquals("MAX", frame.getAnchorPos(UIAnchorSide.RIGHT));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.TOP));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.LEFT));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.BOTTOM));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.RIGHT));
  		
  		frame.setAnchorRelative(UIAnchorSide.BOTTOM, "$this");
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.TOP));
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.LEFT));
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.BOTTOM));
  		assertEquals("$this", frame.getAnchorRelative(UIAnchorSide.RIGHT));
  		assertEquals("MIN", frame.getAnchorPos(UIAnchorSide.TOP));
  		assertEquals("MIN", frame.getAnchorPos(UIAnchorSide.LEFT));
  		assertEquals("MAX", frame.getAnchorPos(UIAnchorSide.BOTTOM));
  		assertEquals("MAX", frame.getAnchorPos(UIAnchorSide.RIGHT));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.TOP));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.LEFT));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.BOTTOM));
  		assertEquals("0", frame.getAnchorOffset(UIAnchorSide.RIGHT));
  	}
test_case.class_method_signature: UIFrameTest.setAnchorRelative()
test_case.full_signature: @Test void setAnchorRelative()
test_case.identifier: setAnchorRelative
test_case.invocations: setAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorOffset assertEquals getAnchorOffset assertEquals getAnchorOffset assertEquals getAnchorOffset setAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorRelative assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorPos assertEquals getAnchorOffset assertEquals getAnchorOffset assertEquals getAnchorOffset assertEquals getAnchorOffset
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void setAnchorRelative()
focal_class.declarator: ZERO = "0"
focal_class.modifier: public static final
focal_class.original_string: public static final String ZERO = "0";
focal_class.type: String
focal_class.var_name: ZERO
focal_class.declarator: THIS = "$this"
focal_class.modifier: private static final
focal_class.original_string: private static final String THIS = "$this";
focal_class.type: String
focal_class.var_name: THIS
focal_class.declarator: MIN = "MIN"
focal_class.modifier: private static final
focal_class.original_string: private static final String MIN = "MIN";
focal_class.type: String
focal_class.var_name: MIN
focal_class.declarator: MAX = "MAX"
focal_class.modifier: private static final
focal_class.original_string: private static final String MAX = "MAX";
focal_class.type: String
focal_class.var_name: MAX
focal_class.declarator: DFLT_POS = { MIN, MIN, MAX, MAX }
focal_class.modifier: private static final
focal_class.original_string: private static final String[] DFLT_POS = { MIN, MIN, MAX, MAX };
focal_class.type: String[]
focal_class.var_name: DFLT_POS
focal_class.declarator: DFLT_OFFSET = { ZERO, ZERO, ZERO, ZERO }
focal_class.modifier: private static final
focal_class.original_string: private static final String[] DFLT_OFFSET = { ZERO, ZERO, ZERO, ZERO };
focal_class.type: String[]
focal_class.var_name: DFLT_OFFSET
focal_class.declarator: DFLT_RELATIVE = { THIS, THIS, THIS, THIS }
focal_class.modifier: private static final
focal_class.original_string: private static final String[] DFLT_RELATIVE = { THIS, THIS, THIS, THIS };
focal_class.type: String[]
focal_class.var_name: DFLT_RELATIVE
focal_class.declarator: pos
focal_class.modifier: private
focal_class.original_string: private String[] pos;
focal_class.type: String[]
focal_class.var_name: pos
focal_class.declarator: offset
focal_class.modifier: private
focal_class.original_string: private String[] offset;
focal_class.type: String[]
focal_class.var_name: offset
focal_class.declarator: relative
focal_class.modifier: private
focal_class.original_string: private String[] relative;
focal_class.type: String[]
focal_class.var_name: relative
focal_class.declarator: attributes
focal_class.modifier: private
focal_class.original_string: private List<UIAttribute> attributes;
focal_class.type: List<UIAttribute>
focal_class.var_name: attributes
focal_class.declarator: type
focal_class.modifier: private
focal_class.original_string: private String type;
focal_class.type: String
focal_class.var_name: type
focal_class.declarator: children
focal_class.modifier: private
focal_class.original_string: private List<UIElement> children;
focal_class.type: List<UIElement>
focal_class.var_name: children
focal_class.file: tools/galaxyLibrary/project/GalaxyLib/src/main/java/com/ahli/galaxy/ui/UIFrame.java
focal_class.identifier: UIFrame
focal_class.class_method_signature: UIFrame.UIFrame()
focal_class.full_signature: public  UIFrame()
focal_class.identifier: UIFrame
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  UIFrame()
focal_class.class_method_signature: UIFrame.init()
focal_class.full_signature: private void init()
focal_class.identifier: init
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: UIFrame.UIFrame(final String name, final String type)
focal_class.full_signature: public  UIFrame(final String name, final String type)
focal_class.identifier: UIFrame
focal_class.modifiers: public
focal_class.parameters: (final String name, final String type)
focal_class.signature:  UIFrame(final String name, final String type)
focal_class.class_method_signature: UIFrame.UIFrame(final String name, final int initialAttributesCapacity, final int initialChildrenCapacity)
focal_class.full_signature: public  UIFrame(final String name, final int initialAttributesCapacity, final int initialChildrenCapacity)
focal_class.identifier: UIFrame
focal_class.modifiers: public
focal_class.parameters: (final String name, final int initialAttributesCapacity, final int initialChildrenCapacity)
focal_class.signature:  UIFrame(final String name, final int initialAttributesCapacity, final int initialChildrenCapacity)
focal_class.class_method_signature: UIFrame.UIFrame(final String name)
focal_class.full_signature: public  UIFrame(final String name)
focal_class.identifier: UIFrame
focal_class.modifiers: public
focal_class.parameters: (final String name)
focal_class.signature:  UIFrame(final String name)
focal_class.class_method_signature: UIFrame.deepCopy()
focal_class.full_signature: @Override public Object deepCopy()
focal_class.identifier: deepCopy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object deepCopy()
focal_class.class_method_signature: UIFrame.getType()
focal_class.full_signature: public String getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: UIFrame.setType(final String type)
focal_class.full_signature: public void setType(final String type)
focal_class.identifier: setType
focal_class.modifiers: public
focal_class.parameters: (final String type)
focal_class.return: void
focal_class.signature: void setType(final String type)
focal_class.class_method_signature: UIFrame.getChildren()
focal_class.full_signature: @Override public List<UIElement> getChildren()
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<UIElement>
focal_class.signature: List<UIElement> getChildren()
focal_class.class_method_signature: UIFrame.setChildren(final List<UIElement> children)
focal_class.full_signature: public void setChildren(final List<UIElement> children)
focal_class.identifier: setChildren
focal_class.modifiers: public
focal_class.parameters: (final List<UIElement> children)
focal_class.return: void
focal_class.signature: void setChildren(final List<UIElement> children)
focal_class.class_method_signature: UIFrame.getChildrenRaw()
focal_class.full_signature: @Override public List<UIElement> getChildrenRaw()
focal_class.identifier: getChildrenRaw
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<UIElement>
focal_class.signature: List<UIElement> getChildrenRaw()
focal_class.class_method_signature: UIFrame.addAttribute(final UIAttribute value)
focal_class.full_signature: public void addAttribute(final UIAttribute value)
focal_class.identifier: addAttribute
focal_class.modifiers: public
focal_class.parameters: (final UIAttribute value)
focal_class.return: void
focal_class.signature: void addAttribute(final UIAttribute value)
focal_class.class_method_signature: UIFrame.getValue(final String key)
focal_class.full_signature: public UIAttribute getValue(final String key)
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: (final String key)
focal_class.return: UIAttribute
focal_class.signature: UIAttribute getValue(final String key)
focal_class.class_method_signature: UIFrame.getAttributes()
focal_class.full_signature: public List<UIAttribute> getAttributes()
focal_class.identifier: getAttributes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<UIAttribute>
focal_class.signature: List<UIAttribute> getAttributes()
focal_class.class_method_signature: UIFrame.getAnchorRelative(final UIAnchorSide side)
focal_class.full_signature: public String getAnchorRelative(final UIAnchorSide side)
focal_class.identifier: getAnchorRelative
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side)
focal_class.return: String
focal_class.signature: String getAnchorRelative(final UIAnchorSide side)
focal_class.class_method_signature: UIFrame.getAnchorOffset(final UIAnchorSide side)
focal_class.full_signature: public String getAnchorOffset(final UIAnchorSide side)
focal_class.identifier: getAnchorOffset
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side)
focal_class.return: String
focal_class.signature: String getAnchorOffset(final UIAnchorSide side)
focal_class.class_method_signature: UIFrame.getAnchorPos(final UIAnchorSide side)
focal_class.full_signature: public String getAnchorPos(final UIAnchorSide side)
focal_class.identifier: getAnchorPos
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side)
focal_class.return: String
focal_class.signature: String getAnchorPos(final UIAnchorSide side)
focal_class.class_method_signature: UIFrame.setAnchor(final String relative, final String offset)
focal_class.full_signature: public void setAnchor(final String relative, final String offset)
focal_class.identifier: setAnchor
focal_class.modifiers: public
focal_class.parameters: (final String relative, final String offset)
focal_class.return: void
focal_class.signature: void setAnchor(final String relative, final String offset)
focal_class.class_method_signature: UIFrame.setAnchor(final UIAnchorSide side, final String relative, final String pos, final String offset)
focal_class.full_signature: public void setAnchor(final UIAnchorSide side, final String relative, final String pos, final String offset)
focal_class.identifier: setAnchor
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side, final String relative, final String pos, final String offset)
focal_class.return: void
focal_class.signature: void setAnchor(final UIAnchorSide side, final String relative, final String pos, final String offset)
focal_class.class_method_signature: UIFrame.setAnchorRelative(final UIAnchorSide side, final String relative)
focal_class.full_signature: public void setAnchorRelative(final UIAnchorSide side, final String relative)
focal_class.identifier: setAnchorRelative
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side, final String relative)
focal_class.return: void
focal_class.signature: void setAnchorRelative(final UIAnchorSide side, final String relative)
focal_class.class_method_signature: UIFrame.setAnchorPos(final UIAnchorSide side, final String pos)
focal_class.full_signature: public void setAnchorPos(final UIAnchorSide side, final String pos)
focal_class.identifier: setAnchorPos
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side, final String pos)
focal_class.return: void
focal_class.signature: void setAnchorPos(final UIAnchorSide side, final String pos)
focal_class.class_method_signature: UIFrame.setAnchorOffset(final UIAnchorSide side, final String offset)
focal_class.full_signature: public void setAnchorOffset(final UIAnchorSide side, final String offset)
focal_class.identifier: setAnchorOffset
focal_class.modifiers: public
focal_class.parameters: (final UIAnchorSide side, final String offset)
focal_class.return: void
focal_class.signature: void setAnchorOffset(final UIAnchorSide side, final String offset)
focal_class.class_method_signature: UIFrame.receiveFrameFromPath(final String path)
focal_class.full_signature: @Override public UIElement receiveFrameFromPath(final String path)
focal_class.identifier: receiveFrameFromPath
focal_class.modifiers: @Override public
focal_class.parameters: (final String path)
focal_class.return: UIElement
focal_class.signature: UIElement receiveFrameFromPath(final String path)
focal_class.class_method_signature: UIFrame.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: UIFrame.equals(final Object obj)
focal_class.full_signature: @Override public boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_class.class_method_signature: UIFrame.getSignatureFields()
focal_class.full_signature: private Object[] getSignatureFields()
focal_class.identifier: getSignatureFields
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Object[]
focal_class.signature: Object[] getSignatureFields()
focal_class.class_method_signature: UIFrame.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.superclass: extends UIElement
focal_method.body: 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;
  		}
  	}
focal_method.class_method_signature: UIFrame.setAnchorRelative(final UIAnchorSide side, final String relative)
focal_method.full_signature: public void setAnchorRelative(final UIAnchorSide side, final String relative)
focal_method.identifier: setAnchorRelative
focal_method.invocations: equalsIgnoreCase ordinal equalsIgnoreCase intern equalsIgnoreCase equalsIgnoreCase equalsIgnoreCase equalsIgnoreCase
focal_method.modifiers: public
focal_method.parameters: (final UIAnchorSide side, final String relative)
focal_method.return: void
focal_method.signature: void setAnchorRelative(final UIAnchorSide side, final String relative)