Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 905 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 905 Bytes

Side Menu Panel

Side Menu for Java Swing Application.

Alt text

Methods Functions
setMain() set Main Panel
setSide() set Sidebar/Side Panel
setMinWidth() set Sidebar Minimum Width
setMaxWidth() set Sidebar Maximum Width
setMainAnimation() enable/disable Main Animation
setSpeed() set Sliding Animation Speed
openMenu() open Menu without animation
closeMenu() close Menu without animation

Usage

 SidemenuPanel sp;
 sp = new SideMenuPanel(this);
        sp.setMain(mainPanel);
        sp.setSide(sidebar);
        sp.setMinWidth(55);
        sp.setMaxWidth(150);
        sp.setMainAnimation(true);
        sp.setSpeed(4);
        sp.setResponsiveMinWidth(600);

(c) 2020-2021 | IanDiv