List of usage examples for com.jgoodies.forms.layout RowSpec getSize
public final Size getSize()
From source file:com.jeta.swingbuilder.gui.commands.EditRowSpecCommand.java
License:Open Source License
/** * ctor// w w w .j a va 2 s . c o m */ public EditRowSpecCommand(FormComponent form, int row, RowSpec rowspec, RowSpec oldspec) { super(form); m_row = row; m_rowspec = rowspec; /** * note that you must create a copy of the oldspec here because the * reference passed to the constructor is probabaly bound to the view * and will change */ m_oldspec = new RowSpec(oldspec.getDefaultAlignment(), oldspec.getSize(), oldspec.getResizeWeight()); }