@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mAlignment; return hashCode; }
/** * Overridden to use covariant return type. * * @return this, as part of a fluent interface */ @Override public SeparatorLayoutDecoratorConfig setLayout( Layout<Control, Composite, SwtMetawidget> layout ) { super.setLayout( layout ); return this; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mAlignment != ( (SeparatorLayoutDecoratorConfig) that ).mAlignment ) { return false; } return super.equals( that ); }
/** * Constructor. * <p> * <code>LayoutDecoratorConfig</code> is mandatory because all <code>LayoutDecorator</code>s * need something to decorate. */ protected LayoutDecorator( LayoutDecoratorConfig<W, C, M> config ) { mDelegate = config.getLayout(); if ( mDelegate == null ) { throw LayoutException.newException( getClass().getName() + " needs a Layout to decorate (use " + config.getClass().getName() + ".setLayout)" ); } }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mTabLocation != ( (TabFolderLayoutDecoratorConfig) that ).mTabLocation ) { return false; } return super.equals( that ); }
/** * Constructor. * <p> * <code>LayoutDecoratorConfig</code> is mandatory because all <code>LayoutDecorator</code>s * need something to decorate. */ protected LayoutDecorator( LayoutDecoratorConfig<W, C, M> config ) { mDelegate = config.getLayout(); if ( mDelegate == null ) { throw LayoutException.newException( getClass().getName() + " needs a Layout to decorate (use " + config.getClass().getName() + ".setLayout)" ); } }
@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mTabPlacement; return hashCode; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mTabPlacement != ( (TabbedPaneLayoutDecoratorConfig) that ).mTabPlacement ) { return false; } return super.equals( that ); }
/** * Overridden to use covariant return type. * * @return this, as part of a fluent interface */ @Override public TextViewLayoutDecoratorConfig setLayout( Layout<View, ViewGroup, AndroidMetawidget> layout ) { super.setLayout( layout ); return this; }
@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mStyle; return hashCode; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mTabPlacement != ( (TabbedPaneLayoutDecoratorConfig) that ).mTabPlacement ) { return false; } return super.equals( that ); }
/** * Overridden to use covariant return type. * * @return this, as part of a fluent interface */ @Override public CollapsiblePanelLayoutDecoratorConfig setLayout( Layout<UIComponent, UIComponent, UIMetawidget> layout ) { super.setLayout( layout ); return this; }
@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mAlignment; return hashCode; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mStyle != ( (TextViewLayoutDecoratorConfig) that ).mStyle ) { return false; } return super.equals( that ); }
/** * Overridden to use covariant return type. * * @return this, as part of a fluent interface */ @Override public TabFolderLayoutDecoratorConfig setLayout( Layout<Control, Composite, SwtMetawidget> layout ) { super.setLayout( layout ); return this; }
@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mAlignment; return hashCode; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mAlignment != ( (SeparatorLayoutDecoratorConfig) that ).mAlignment ) { return false; } return super.equals( that ); }
/** * Overridden to use covariant return type. * * @return this, as part of a fluent interface */ @Override public TabViewLayoutDecoratorConfig setLayout( Layout<UIComponent, UIComponent, UIMetawidget> layout ) { super.setLayout( layout ); return this; }
@Override public int hashCode() { int hashCode = super.hashCode(); hashCode = 31 * hashCode + mTabPlacement; return hashCode; }
@Override public boolean equals( Object that ) { if ( this == that ) { return true; } if ( !ObjectUtils.nullSafeClassEquals( this, that )) { return false; } if ( mAlignment != ( (SeparatorLayoutDecoratorConfig) that ).mAlignment ) { return false; } return super.equals( that ); }