/*
 *  The MIT License (MIT)
 *
 *  View the full license at:
 *  https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md
 *
 *  Copyright (c) 2015 Joseph Hendrix
 *
 *  Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree
 *
 */

package edu.wright.hendrix11.c3.axis;

/**
 * @author Joe Hendrix
 */
public abstract class Label
{
    private String position;
    private String text;

    /**
     *
     * @param text
     */
    public Label(String text)
    {
        this.text = text;
    }

    /**
     *
     * @param text
     * @param position
     */
    public Label(String text, String position)
    {
        this.text = text;
        this.position = position;
    }

    /**
     *
     * @param position
     */
    protected void setPosition(String position)
    {
        this.position = position;
    }

    public String toString()
    {
        StringBuilder sb = new StringBuilder("{text:'");
        sb.append(text);
        sb.append("'");

        if ( position != null )
        {
            sb.append(",position:'");
            sb.append(position);
            sb.append("'");
        }

        sb.append("}");

        return sb.toString();
    }
}

@@ -832,24 +832,264 @@
 ition;%0A    %7D
+%0A    %0A    public String getText()%0A    %7B%0A        return text;%0A    %7D%0A    %0A    public void setText(String text)%0A    %7B%0A        this.text = text;%0A    %7D%0A    %0A    public boolean hasText()%0A    %7B%0A        return text != null && !text.isEmpty();%0A    %7D
 %0A%0A    public

Update Label.java