|
||||||||||
| 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
ikbs.tools.utils.IkbsPanel
ikbs.graphics.model.AttributePanel
ikbs.graphics.model.SymbolicPanel
public class SymbolicPanel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
java.awt.Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected static int |
AJOUTER
|
protected static int |
BOOLEAN_CHANGED
|
protected static int |
CHOISIR_DEFAUT
|
protected static int |
EFFACER
|
protected static int |
EFFACER_DEFAUT
|
protected static int |
LIST
|
protected static int |
REMPLACER
|
| Fields inherited from class ikbs.graphics.model.AttributePanel |
|---|
attribute, edition, info, infoListener, valDefaut, VALDEFAUT |
| Fields inherited from class ikbs.tools.utils.IkbsPanel |
|---|
c |
| 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 | |
|---|---|
SymbolicPanel(SymbolicAttribute attribute,
boolean edition)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.awt.Dimension |
adaptedSize()
|
void |
ajouter()
Demande au SymbolicAttribute de rajouter une valeur |
void |
ajouterValeur(java.lang.String s)
Lorsqu'une valeur a été ajoutée au SymbolicAttribute, la méthode update de EditeurAttribut propage l'action via cette méthode On rajoute une valeur dans la liste des valeurs |
void |
choisirDefaut()
|
void |
effacer()
|
boolean |
getBoolean()
Accès au statu booléen ou non de l'attribut |
java.lang.String |
getDefaut()
|
boolean |
getOrdered()
|
boolean |
getRetirer()
|
double |
getWeighty()
Hauteur relative du panel |
void |
initValeursList()
|
int |
item(java.lang.String nomItem)
|
void |
itemStateChanged(java.awt.event.ItemEvent ev)
|
void |
remplacer()
|
void |
remplacerValeur(int index,
java.lang.String newValeur)
|
void |
retirerValeur(java.lang.String s)
Lorsqu'une valeur a été retirée au SymbolicAttribute, la méthode update de EditeurAttribut propage l'action via cette méthode On retire une valeur dans la liste des valeurs |
void |
setBoolean(boolean b)
Modification du statut de l'attribut (booléen ou non) |
void |
setOrdered(boolean b)
|
void |
setRetirer(boolean b)
|
void |
setValeur()
|
void |
updateValList()
Reinitialisation de la liste des valeurs |
| Methods inherited from class ikbs.graphics.model.AttributePanel |
|---|
getEdition, init, removeInfo, setDefaut, setInfo, setInfo, setInfoListener |
| Methods inherited from class ikbs.tools.utils.IkbsPanel |
|---|
getFrame, initGridBagConstraint, xyPosition, xyPosition |
| Methods inherited from class java.awt.Panel |
|---|
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int AJOUTER
protected static final int EFFACER
protected static final int REMPLACER
protected static final int LIST
protected static final int CHOISIR_DEFAUT
protected static final int EFFACER_DEFAUT
protected static final int BOOLEAN_CHANGED
| Constructor Detail |
|---|
public SymbolicPanel(SymbolicAttribute attribute,
boolean edition)
| Method Detail |
|---|
public java.awt.Dimension adaptedSize()
adaptedSize in class AttributePanelpublic void updateValList()
public int item(java.lang.String nomItem)
public void initValeursList()
public boolean getOrdered()
public void setOrdered(boolean b)
public void setValeur()
public void ajouterValeur(java.lang.String s)
ajouterValeur in class AttributePanelpublic void retirerValeur(java.lang.String s)
retirerValeur in class AttributePanelpublic boolean getRetirer()
public void setRetirer(boolean b)
public void ajouter()
public void effacer()
public void remplacer()
public java.lang.String getDefaut()
getDefaut in class AttributePanelpublic void choisirDefaut()
public void remplacerValeur(int index,
java.lang.String newValeur)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class AttributePanelpublic double getWeighty()
getWeighty in class AttributePanelpublic boolean getBoolean()
public void setBoolean(boolean b)
public void itemStateChanged(java.awt.event.ItemEvent ev)
itemStateChanged in interface java.awt.event.ItemListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||