Class FieldPanelCoordinator
- java.lang.Object
- 
- docking.widgets.fieldpanel.internal.FieldPanelCoordinator
 
- 
- All Implemented Interfaces:
- ViewListener
 - Direct Known Subclasses:
- LineLockedFieldPanelCoordinator
 
 public class FieldPanelCoordinator extends java.lang.Object implements ViewListener Coordinates the scrolling of a set of field panels by sharing bound scroll models.
- 
- 
Constructor SummaryConstructors Constructor Description FieldPanelCoordinator(FieldPanel[] panels)Constructs a new FieldPanelCoordinatro to synchronize the scrolling of the given field panels.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(FieldPanel fp)Adds the given field panel to the list of panels to synchronize.voiddispose()Cleans up resources.voidremove(FieldPanel fp)Removes the given field panel from the list to be synchronized.voidviewChanged(FieldPanel fp, java.math.BigInteger index, int xPos, int yPos)Notifies the listener that the top of the screen has changed position.
 
- 
- 
- 
Constructor Detail- 
FieldPanelCoordinatorpublic FieldPanelCoordinator(FieldPanel[] panels) Constructs a new FieldPanelCoordinatro to synchronize the scrolling of the given field panels.- Parameters:
- panels- the array of panels to synchronize.
 
 
- 
 - 
Method Detail- 
disposepublic void dispose() Cleans up resources.
 - 
addpublic void add(FieldPanel fp) Adds the given field panel to the list of panels to synchronize.- Parameters:
- fp- the field panel to add.
 
 - 
removepublic void remove(FieldPanel fp) Removes the given field panel from the list to be synchronized.
 - 
viewChangedpublic void viewChanged(FieldPanel fp, java.math.BigInteger index, int xPos, int yPos) Description copied from interface:ViewListenerNotifies the listener that the top of the screen has changed position.- Specified by:
- viewChangedin interface- ViewListener
- Parameters:
- fp- the field panel whose view changed.
- index- the index of the layout at the top of the screen
- See Also:
- docking.widgets.fieldpanel.listener.ViewListener#viewChanged(docking.widgets.fieldpanel.FieldPanel, int, int)
 
 
- 
 
-