|
||||||||||
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.JPanel fr.lip6.sma.simulacion.avatar.InterfaceCard
public abstract class InterfaceCard
Classe de base pour les cartes d'interaction avec l'avatar. Chaque carte possde deux boutons: prŽcŽdent et suivant.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
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 |
Field Summary | |
---|---|
private JLabel |
mIndexLabel
Texte pour l'index courant. |
private AvatarInterfacePanel |
mInterfacePanel
RŽfŽrence sur la vue/le contr™leur pour l'avatar semi-autonome. |
private JButton |
mNextButton
Bouton suivant. |
private JButton |
mPreviousButton
Bouton prŽcŽdent. |
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 java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
InterfaceCard(AvatarInterfacePanel inInterfacePanel)
Constructeur ˆ partir du conteneur d'interface. |
|
InterfaceCard(AvatarInterfacePanel inInterfacePanel,
boolean inShowNavBtns)
Constructeur ˆ partir du conteneur d'interface. |
Method Summary | |
---|---|
protected void |
blink()
Produit un clignotement. |
private void |
blinkThreadEntryPoint()
Point d'entrŽe du processus lŽger pour crŽer un clignotement. |
abstract Object |
getCookie()
Retourne un biscuit pour rŽ-afficher la carte dans le mme Žtat plus tard. |
protected AvatarInterfacePanel |
getInterfacePanel()
Accesseur sur la vue/le contr™leur. |
abstract void |
init(Object inCookie)
MŽthode invoquŽe avant que la carte ne soit affichŽe. |
boolean |
isBusy()
DŽtermine si l'utilisateur est occupŽ avec cette carte. |
void |
update()
MŽthode appelŽe lorsque le panneau est rendu visible. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final AvatarInterfacePanel mInterfacePanel
private final JButton mPreviousButton
private final JButton mNextButton
private final JLabel mIndexLabel
Constructor Detail |
---|
public InterfaceCard(AvatarInterfacePanel inInterfacePanel)
inInterfacePanel
- rŽfŽrence sur le conteneur
(la vue/le contr™leur pour le modle d'avatar
semi-autonome).public InterfaceCard(AvatarInterfacePanel inInterfacePanel, boolean inShowNavBtns)
inInterfacePanel
- rŽfŽrence sur le conteneur
(la vue/le contr™leur pour le modle d'avatar
semi-autonome).inShowNavBtns
- si on doit afficher les boutons
suivant/prŽcŽdent.Method Detail |
---|
protected final AvatarInterfacePanel getInterfacePanel()
public abstract void init(Object inCookie)
inCookie
- biscuit pour l'affichage.public abstract Object getCookie()
public boolean isBusy()
true
si l'utilisateur est occupŽ,
false
sinon.public final void update()
protected final void blink()
private void blinkThreadEntryPoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |