public final class FlurstueckInfoClipboard extends Object implements FlurstueckChangeListener
| Constructor and Description |
|---|
FlurstueckInfoClipboard(LagisApp lagisApp,
JButton copyButton,
JButton pasteButton)
Creates a new FlurstueckInfoClipboard object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCopyListener(Copyable copyListener)
DOCUMENT ME!
|
void |
addPasteListener(Pasteable pasteListener)
DOCUMENT ME!
|
void |
flurstueckChanged(FlurstueckCustomBean newFlurstueck)
DOCUMENT ME!
|
List<BasicEntity> |
getCopiedData()
Returns all the data copied before.
|
List<Copyable> |
getCopyListeners()
Returns all registered
Copyable instances. |
void |
performPaste(List<BasicEntity> data)
Pastes the given data to all registered
Pasteable instances. |
void |
setActive(boolean isActive)
This method is intended to be called when edit-mode is switched.
|
public FlurstueckInfoClipboard(LagisApp lagisApp, JButton copyButton, JButton pasteButton)
lagisApp - Reference to LagisApp instancecopyButton - button to trigger copyingpasteButton - button to trigger pastingNullPointerException - DOCUMENT ME!public void addCopyListener(Copyable copyListener)
copyListener - DOCUMENT ME!public void addPasteListener(Pasteable pasteListener)
pasteListener - DOCUMENT ME!public void setActive(boolean isActive)
isActive - true if app is in edit-mode, false otherwisepublic List<BasicEntity> getCopiedData()
public List<Copyable> getCopyListeners()
Copyable instances. This method is needed in
FlurstueckInfoClipboardPasteWidget.Copyable instancespublic void performPaste(List<BasicEntity> data)
Pasteable instances. This method is called by
FlurstueckInfoClipboardPasteWidget when the user has chosen which items shall actually be pasted.data - rebeList DOCUMENT ME!public void flurstueckChanged(FlurstueckCustomBean newFlurstueck)
flurstueckChanged in interface FlurstueckChangeListenernewFlurstueck - DOCUMENT ME!Copyright © 2012–2025 cismet GmbH. All rights reserved.