Package com.jgoodies.forms.layout.FormSpec

Examples of com.jgoodies.forms.layout.FormSpec.DefaultAlignment


         *
         * @param spec    the original column specification
         * @return the column specification with flipped default alignment
         */
        static ColumnSpec flipped(ColumnSpec spec) {
            DefaultAlignment alignment = spec.getDefaultAlignment();
            if (alignment == ColumnSpec.LEFT)
                alignment = ColumnSpec.RIGHT;
            else if (alignment == ColumnSpec.RIGHT)
                alignment = ColumnSpec.LEFT;
            return new ColumnSpec(alignment, spec.getSize(), spec.getResizeWeight());
View Full Code Here


   * @param spec
   *            the original column specification
   * @return the column specification with flipped default alignment
   */
  private static ColumnSpec flipped(ColumnSpec spec) {
    DefaultAlignment alignment = spec.getDefaultAlignment();

    if (alignment == ColumnSpec.LEFT) {
      alignment = ColumnSpec.RIGHT;
    } else {
      if (alignment == ColumnSpec.RIGHT) {
View Full Code Here

   * @param spec
   *            the original column specification
   * @return the column specification with flipped default alignment
   */
  private static ColumnSpec flipped(ColumnSpec spec) {
    DefaultAlignment alignment = spec.getDefaultAlignment();

    if (alignment == ColumnSpec.LEFT) {
      alignment = ColumnSpec.RIGHT;
    } else {
      if (alignment == ColumnSpec.RIGHT) {
View Full Code Here

TOP

Related Classes of com.jgoodies.forms.layout.FormSpec.DefaultAlignment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.