|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
wt.clients.lifecycle.administrator.LifeCycleFlow.FlowEditor
The actual graphics panel.
Nested Class Summary | |
(package private) class |
LifeCycleFlow.FlowEditor.PhaseMouseListener
Mouse listener for phases. |
(package private) class |
LifeCycleFlow.FlowEditor.TemplateMouseListener
Mouse listener for the life cycle template (background). |
Nested classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
(package private) Graphics |
offgraphics
|
(package private) Image |
offscreen
|
(package private) Dimension |
offscreensize
|
(package private) Vector |
phaseVector
|
(package private) Dimension |
size
|
Fields inherited from class java.awt.Panel |
|
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
protected |
LifeCycleFlow.FlowEditor()
Create the new graphics panel. |
Method Summary | |
protected void |
addPhase(Phase phase)
Adds the phase to the end of the flow. |
protected void |
addPhaseNoSelect(Phase phase)
Adds the phase to the end of the flow. |
protected void |
deselect(LifeCycleFlow.FlowEditor flow)
Deselects the flow. |
protected void |
deselect(Phase phase)
Deselects the phase. |
protected void |
fireItemEventSelect(Object item)
Sends the item event to any listeners. |
Dimension |
getPreferredSize()
Returns the preferred size of this panel. |
protected void |
insertPhase(Phase phase)
Inserts the phase before the selected phase. |
protected boolean |
isPhaseNameUnique()
|
protected boolean |
isValidPhaseName(String phaseName,
boolean isCopyPhase)
|
protected void |
markCurrent(Phase phase)
Marks a phase current in the life cycle flow. |
void |
paint(Graphics g)
Paints the flow onto the specified graphics. |
protected void |
removePhase(Phase phase)
Removes a phase from the life cycle flow. |
protected void |
select(LifeCycleFlow.FlowEditor flow)
Selects the specified flow. |
protected void |
select(Phase phase)
Selects the specified phase. |
void |
update(Graphics g)
Updates the specified graphics. |
void |
validate()
Validates the graphics. |
Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
Dimension size
Vector phaseVector
Image offscreen
Dimension offscreensize
Graphics offgraphics
Constructor Detail |
protected LifeCycleFlow.FlowEditor()
Method Detail |
public Dimension getPreferredSize()
protected void insertPhase(Phase phase)
protected void addPhase(Phase phase)
protected void addPhaseNoSelect(Phase phase)
protected void removePhase(Phase phase)
phase
- the phase to removeprotected void markCurrent(Phase phase)
phase
- the phase to mark currentprotected void select(Phase phase)
phase
- the phase to selectprotected void select(LifeCycleFlow.FlowEditor flow)
flow
- the flow to selectprotected void fireItemEventSelect(Object item)
item
- the item to fire the item event atprotected void deselect(LifeCycleFlow.FlowEditor flow)
flow
- the flow to deselectprotected void deselect(Phase phase)
phase
- the phase to deselectpublic void validate()
public void update(Graphics g)
g
- the graphics to updatedpublic void paint(Graphics g)
g
- the graphics to paint toprotected boolean isValidPhaseName(String phaseName, boolean isCopyPhase)
protected boolean isPhaseNameUnique()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |