Examples of AlignLayout


Examples of com.alee.extended.layout.AlignLayout

     * @param halign    horizontal alignment
     * @param valign    vertical alignment
     */
    public AlignPanel ( final Component component, final int halign, final int valign )
    {
        super ( new AlignLayout () );
        setOpaque ( false );
        add ( component, halign + AlignLayout.SEPARATOR + valign );
    }
View Full Code Here

Examples of com.alee.extended.layout.AlignLayout

    /**
     * Constructs new shade layer.
     */
    public ShadeLayer ()
    {
        super ( new AlignLayout () );

        final MouseAdapter mouseAdapter = new MouseAdapter ()
        {
            @Override
            public void mousePressed ( final MouseEvent e )
View Full Code Here

Examples of com.alee.extended.layout.AlignLayout

        // Updating layout settings
        final LayoutManager layoutManager = getLayout ();
        if ( layoutManager instanceof AlignLayout )
        {
            final AlignLayout layout = ( AlignLayout ) layoutManager;
            layout.setHfill ( hfill );
            layout.setVfill ( vfill );
        }

        // Updating popup layer
        setBounds ( new Rectangle ( 0, 0, getParent ().getWidth (), getParent ().getHeight () ) );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.