src/main/java/de/vandermeer/asciilist/AbstractAsciiListContext.java
public AbstractAsciiListContext copySettings(AsciiListContext ctx){
		this.alignment = ctx.getAlignment();
		this.width = ctx.getWidth();
		this.frame = ctx.getFrame();
		this.frameMode = ctx.getFrameMode();
		this.level = ctx.getLevel();
		this.parentIndex = ArrayUtils.clone(ctx.getParentIndex());

		//strings
		this.leftLabelString = ctx.getLeftLabelString();
		this.rightLabelString = ctx.getRightLabelString();
		this.listStartString = ctx.getListStart();
		this.listEndString = ctx.getListEnd();

		//converters
		this.charTranslator = ctx.getCharTranslator();
		this.htmlElementTranslator = ctx.getHtmlElementTranslator();
		this.targetTranslator = ctx.getTargetTranslator();

		//characters
		this.itemChar = ctx.getItemChar();
		this.labelLeftChar = ctx.getLabelLeftChar();
		this.labelRightChar = ctx.getLabelRightChar();
		this.textLeftChar = ctx.getTextLeftChar();
		this.textRightChar = ctx.getTextRightChar();

		//margins
		this.itemMargin = ctx.getItemMargin();
		this.labelLeftMargin = ctx.getLabelLeftMargin();
		this.labelRightMargin = ctx.getLabelRightMargin();
		this.textLeftMargin = ctx.getTextLeftMargin();
		this.textRightMargin = ctx.getTextRightMargin();

		return this;
	}
/**
	 * Copies all settings from the given object.
	 * @param ctx the object to copy settings from
	 * @return this to allow chaining
	 */
Copies all settings from the given object.
@param ctx the object to copy settings from
@return this to allow chaining
Copies all settings from the given object . @param ctx the object to copy settings from @return this to allow chaining
public AbstractAsciiListContext copySettings(AsciiListContext ctx){
		this.alignment = ctx.getAlignment();
		this.width = ctx.getWidth();
		this.frame = ctx.getFrame();
		this.frameMode = ctx.getFrameMode();
		this.level = ctx.getLevel();
		this.parentIndex = ArrayUtils.clone(ctx.getParentIndex());
		this.leftLabelString = ctx.getLeftLabelString();
		this.rightLabelString = ctx.getRightLabelString();
		this.listStartString = ctx.getListStart();
		this.listEndString = ctx.getListEnd();
		this.charTranslator = ctx.getCharTranslator();
		this.htmlElementTranslator = ctx.getHtmlElementTranslator();
		this.targetTranslator = ctx.getTargetTranslator();
		this.itemChar = ctx.getItemChar();
		this.labelLeftChar = ctx.getLabelLeftChar();
		this.labelRightChar = ctx.getLabelRightChar();
		this.textLeftChar = ctx.getTextLeftChar();
		this.textRightChar = ctx.getTextRightChar();
		this.itemMargin = ctx.getItemMargin();
		this.labelLeftMargin = ctx.getLabelLeftMargin();
		this.labelRightMargin = ctx.getLabelRightMargin();
		this.textLeftMargin = ctx.getTextLeftMargin();
		this.textRightMargin = ctx.getTextRightMargin();
		return this;
	}
public AbstractAsciiListContext copySettings ( AsciiListContext ctx ) { this . alignment = ctx . getAlignment ( ) ; this . width = ctx . getWidth ( ) ; this . frame = ctx . getFrame ( ) ; this . frameMode = ctx . getFrameMode ( ) ; this . level = ctx . getLevel ( ) ; this . parentIndex = ArrayUtils . clone ( ctx . getParentIndex ( ) ) ; this . leftLabelString = ctx . getLeftLabelString ( ) ; this . rightLabelString = ctx . getRightLabelString ( ) ; this . listStartString = ctx . getListStart ( ) ; this . listEndString = ctx . getListEnd ( ) ; this . charTranslator = ctx . getCharTranslator ( ) ; this . htmlElementTranslator = ctx . getHtmlElementTranslator ( ) ; this . targetTranslator = ctx . getTargetTranslator ( ) ; this . itemChar = ctx . getItemChar ( ) ; this . labelLeftChar = ctx . getLabelLeftChar ( ) ; this . labelRightChar = ctx . getLabelRightChar ( ) ; this . textLeftChar = ctx . getTextLeftChar ( ) ; this . textRightChar = ctx . getTextRightChar ( ) ; this . itemMargin = ctx . getItemMargin ( ) ; this . labelLeftMargin = ctx . getLabelLeftMargin ( ) ; this . labelRightMargin = ctx . getLabelRightMargin ( ) ; this . textLeftMargin = ctx . getTextLeftMargin ( ) ; this . textRightMargin = ctx . getTextRightMargin ( ) ; return this ; }
Copies all settings from the given object.
Copies all settings from the given object .
//strings
 //converters
 //characters
 //margins
