/** * Returns a new <code>Insets</code> instance to match the values entered * on the panel. * * @return The insets. */ public Insets getInsetsValue() { return new Insets( Math.abs(stringToInt(this.topValueEditor.getText())), Math.abs(stringToInt(this.leftValueEditor.getText())), Math.abs(stringToInt(this.bottomValueEditor.getText())), Math.abs(stringToInt(this.rightValueEditor.getText()))); }
/** * Returns a new <code>Insets</code> instance to match the values entered * on the panel. * * @return The insets. */ public Insets getInsetsValue() { return new Insets( Math.abs(stringToInt(this.topValueEditor.getText())), Math.abs(stringToInt(this.leftValueEditor.getText())), Math.abs(stringToInt(this.bottomValueEditor.getText())), Math.abs(stringToInt(this.rightValueEditor.getText()))); }
/** * Returns a new <code>Insets</code> instance to match the values entered * on the panel. * * @return The insets. */ public Insets getInsetsValue() { return new Insets( Math.abs(stringToInt(this.topValueEditor.getText())), Math.abs(stringToInt(this.leftValueEditor.getText())), Math.abs(stringToInt(this.bottomValueEditor.getText())), Math.abs(stringToInt(this.rightValueEditor.getText()))); }