Package javascript.awt
Interface LayoutManager
-
- All Known Implementing Classes:
BorderLayout
,BoxLayout
,CardLayout
,FlowLayout
,GridBagLayout
,GridLayout
public interface LayoutManager
The java.awt.LayoutManager clone- Author:
- gianpiero.diblasi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInPanel(JSPanel panel, JSComponent component, java.lang.Object constraints)
Add a component in a panelvoid
resetPanel(JSPanel panel)
Resets the panel managed by this layout manager (all custom configurations will be removed)void
setPanel(JSPanel panel)
Sets the panel managed by this layout manager
-
-
-
Method Detail
-
setPanel
void setPanel(JSPanel panel)
Sets the panel managed by this layout manager- Parameters:
panel
- The panel
-
resetPanel
void resetPanel(JSPanel panel)
Resets the panel managed by this layout manager (all custom configurations will be removed)- Parameters:
panel
- The panel
-
addInPanel
void addInPanel(JSPanel panel, JSComponent component, java.lang.Object constraints)
Add a component in a panel- Parameters:
panel
- The panelcomponent
- The componentconstraints
- The constraints
-
-