public class SectionRegion extends Object
Constructor and Description |
---|
SectionRegion(Section section,
LayoutRegion layoutRegion,
List<Panel> panels) |
Modifier and Type | Method and Description |
---|---|
void |
addPanel(Panel panel) |
boolean |
containsPanel(Panel panel) |
LayoutRegion |
getLayoutRegion() |
Panel[] |
getPanels()
Returns all panels in region
|
int |
getPanelsCount() |
Section |
getSection() |
boolean |
isFirstPanelInRegion(Panel panel)
Returns true is it's the first panel in a region
|
boolean |
isLastPanelInRegion(Panel panel)
Returns true is it's the first panel in a region
|
boolean |
isOnlyPanelInRegion(Panel panel)
Returns true is it's the only panel in a region
|
void |
moveBackInRegion(Panel panel)
Moves the panel backwards in the panels list for its region
|
void |
moveForwardInRegion(Panel panel)
Moves the panel forward in the panels list for its region
|
void |
removePanel(Panel panel) |
public SectionRegion(Section section, LayoutRegion layoutRegion, List<Panel> panels)
public Section getSection()
public LayoutRegion getLayoutRegion()
public boolean containsPanel(Panel panel)
public void addPanel(Panel panel)
panel
- public void removePanel(Panel panel)
public void moveBackInRegion(Panel panel)
public void moveForwardInRegion(Panel panel)
public boolean isFirstPanelInRegion(Panel panel)
public boolean isLastPanelInRegion(Panel panel)
public boolean isOnlyPanelInRegion(Panel panel)
public int getPanelsCount()
public Panel[] getPanels()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.