|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTabbedPane org.tastybug.bugwerk.bugtrail.widget.ticket.TicketDisplayTabPane
public class TicketDisplayTabPane
This JTabbedPane
displays a ticket.
One tab is created for the base data of the Ticket, one tab for each contained Incident
,
containing an IncidentTable
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JTabbedPane |
---|
JTabbedPane.AccessibleJTabbedPane, JTabbedPane.ModelListener |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface org.tastybug.bugwerk.blueprint.event.TicketChangeListener |
---|
TicketChangeListener.IncidentEvent, TicketChangeListener.TicketChangeEvent |
Nested classes/interfaces inherited from interface org.tastybug.bugwerk.blueprint.event.IncidentChangeListener |
---|
IncidentChangeListener.AttachmentEvent, IncidentChangeListener.IncidentChangeEvent |
Field Summary |
---|
Fields inherited from class javax.swing.JTabbedPane |
---|
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
TicketDisplayTabPane(Dimension _scrollerDimension)
Creates the tab pane with TOP tab layout. |
Method Summary | |
---|---|
void |
performAttachementAddedEvent(IncidentChangeListener.AttachmentEvent event)
Results in an update of the corresponding incident tab. |
void |
performAttachmentRemovedEvent(IncidentChangeListener.AttachmentEvent event)
Results in an update of the corresponding incident tab. |
void |
performIncidentAddedEvent(TicketChangeListener.IncidentEvent event)
Results in the appendage of a display tab for the new incident |
void |
performIncidentChangedEvent(IncidentChangeListener.IncidentChangeEvent event)
Results in an update of the corresponding incident tab. |
void |
performIncidentRemovedEvent(TicketChangeListener.IncidentEvent event)
Results in the removal of the corresponding incident tab. |
void |
performTicketChangedEvent(TicketChangeListener.TicketChangeEvent event)
Results in an update of the base data tab. |
void |
setTicket(Ticket _ticket)
Sets a new Ticket that is to be displayed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TicketDisplayTabPane(Dimension _scrollerDimension)
_scrollerDimension
- the dimension of the scroller that holds the tabs contentMethod Detail |
---|
public void setTicket(Ticket _ticket)
Ticket
that is to be displayed. The display unregisters
from the old ticket.
_ticket
- the new ticket - can be null
to empty the displaypublic void performIncidentRemovedEvent(TicketChangeListener.IncidentEvent event)
performIncidentRemovedEvent
in interface TicketChangeListener
TicketChangeListener.performIncidentRemovedEvent(org.tastybug.bugwerk.blueprint.event.TicketChangeListener.IncidentEvent)
public void performIncidentAddedEvent(TicketChangeListener.IncidentEvent event)
performIncidentAddedEvent
in interface TicketChangeListener
TicketChangeListener.performIncidentAddedEvent(org.tastybug.bugwerk.blueprint.event.TicketChangeListener.IncidentEvent)
public void performTicketChangedEvent(TicketChangeListener.TicketChangeEvent event)
performTicketChangedEvent
in interface TicketChangeListener
TicketChangeListener.performTicketChangedEvent(org.tastybug.bugwerk.blueprint.event.TicketChangeListener.TicketChangeEvent)
public void performIncidentChangedEvent(IncidentChangeListener.IncidentChangeEvent event)
performIncidentChangedEvent
in interface IncidentChangeListener
IncidentChangeListener.performIncidentChangedEvent(org.tastybug.bugwerk.blueprint.event.IncidentChangeListener.IncidentChangeEvent)
public void performAttachementAddedEvent(IncidentChangeListener.AttachmentEvent event)
performAttachementAddedEvent
in interface IncidentChangeListener
IncidentChangeListener.performAttachementAddedEvent(org.tastybug.bugwerk.blueprint.event.IncidentChangeListener.AttachmentEvent)
public void performAttachmentRemovedEvent(IncidentChangeListener.AttachmentEvent event)
performAttachmentRemovedEvent
in interface IncidentChangeListener
IncidentChangeListener.performAttachmentRemovedEvent(org.tastybug.bugwerk.blueprint.event.IncidentChangeListener.AttachmentEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |