|
|||||||||
| Home >> All >> normal >> [ packetui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
normal.packetui
Interface PacketInfoUI

- All Superinterfaces:
- PacketUI
- All Known Implementing Classes:
- DefaultPacketViewer
- public interface PacketInfoUI
- extends PacketUI
An interface through which a user can interact with a specific set of details for a specific packet. Several PacketInfoUI interfaces may be open for the same packet simultaneously within a single PacketUI. An example is when a larger PacketUI uses a tabbed pane, each tab containing a single PacketInfoUI.
Only one PacketInfoUI within a single PacketUI should be editable at any given time. Preferably, when one such sub-interface is being edited, the others will blank out their details and disable editing accordingly until the initial editing has been cancelled or committed to the engine.
The parent PacketUI should listen to each sub-interface for UIHasChangesEvent events to know when editing has begun on an interface. It should notify all other sub-interfaces that editing has begun by calling editingElsewhere(), and should notify them that editing has finished by calling reflectPacket().
Note however that a sub-interface should only be adjusted or refreshed when it becomes visible, to save unnecessary calculation. Thus such calls to editingElsewhere() or reflectPacket() should be delayed until the appropriate sub-interface becomes visible.
| Method Summary | |
void |
editingElsewhere()
Update this sub-interface to reflect the fact that the corresponding packet is being edited elsewhere within the same overall PacketUI interface. |
| Methods inherited from interface normal.packetui.PacketUI |
addUIHasChangesListener, applyChanges, cleanUp, getInterface, getPacket, hasChanges, isEditor, packetWasChanged, packetWasRenamed, reflectPacket, removeUIHasChangesListener, subtreeHasChanged, subtreeToBeDeleted, subtreeWasInserted |
| Method Detail |
editingElsewhere
public void editingElsewhere()
- Update this sub-interface to reflect the fact that the corresponding
packet is being edited elsewhere within the same overall
PacketUI interface.
|
|||||||||
| Home >> All >> normal >> [ packetui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC