|
||||||||||
| 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.PElementProperty
ikbs.graphics.model.PAttributProperty
public class PAttributProperty
IKBS- Panel d'édition des attributs
| 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 | |
|---|---|
static boolean |
affIdent
|
protected AttributDesc |
attribut
|
protected DescriptiveAttribute |
attTempo
|
protected static java.awt.Color |
BACKGROUND_COLOR
|
protected java.awt.CheckboxGroup |
cbg
|
protected ModelEditor |
editeur
|
protected InfoListener |
il
|
protected static int |
longText
|
protected TextFieldChoix |
nom
|
protected TextFieldChoix |
nomComplet
|
protected static int |
NUMERIC
|
protected static java.awt.Color |
NUMERIC_COLOR
|
protected CheckboxChoix |
numerique
|
protected TextFieldChoix |
pere
|
protected AttributePanel |
pValeurs
|
protected TextFieldChoix |
quest
|
protected static int |
SYMBOLIC
|
protected static java.awt.Color |
SYMBOLIC_COLOR
|
protected CheckboxChoix |
symbolique
|
protected static int |
TAXONOMIC
|
protected static java.awt.Color |
TAXONOMIC_COLOR
|
protected CheckboxChoix |
taxonomique
|
protected static int |
TEXT
|
protected static java.awt.Color |
TEXT_COLOR
|
protected CheckboxChoix |
texte
|
protected java.awt.Panel |
type
|
protected static int |
TYPE_CHANGED
|
protected static int |
VISUALISER
|
| Fields inherited from class ikbs.graphics.model.PElementProperty |
|---|
decision, DECISION, edition, elementGraph, poids, pPoids, tComm, urlString |
| 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 | |
|---|---|
PAttributProperty(AttributDesc attributDesc,
ModelEditor editeur,
boolean editable)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Actions |
java.awt.Dimension |
adaptedSize()
|
protected java.awt.Color |
changeColorType()
Choix de la couleur en fonction du type d'attribut |
protected void |
changeType()
Changement du type d'attribut |
void |
dispose()
Pour libérer les ressources et les liens |
java.lang.String |
getCommentaire()
Accès au commentaire |
void |
init()
Initialisation du panel des propriétés des attributs |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Lorsqu'un un checkbox est activé |
void |
setCommentaire(java.lang.String s)
affectation du commentaire |
void |
update(java.util.Observable o,
java.lang.Object args)
Lorsque les connaissances ont évoluées |
void |
valider()
Pour valider les modifications sur le panel des propriétés |
| Methods inherited from class ikbs.graphics.model.PElementProperty |
|---|
getEdition, removeInfo, setEdition, setInfo, setInfoListener, showDocument |
| 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 |
|---|
public static boolean affIdent
protected static java.awt.Color BACKGROUND_COLOR
protected static java.awt.Color NUMERIC_COLOR
protected static java.awt.Color SYMBOLIC_COLOR
protected static java.awt.Color TEXT_COLOR
protected static java.awt.Color TAXONOMIC_COLOR
protected static final int NUMERIC
protected static final int SYMBOLIC
protected static final int TEXT
protected static final int TAXONOMIC
protected static final int VISUALISER
protected static final int TYPE_CHANGED
protected static int longText
protected AttributDesc attribut
protected DescriptiveAttribute attTempo
protected ModelEditor editeur
protected InfoListener il
protected java.awt.CheckboxGroup cbg
protected CheckboxChoix symbolique
protected CheckboxChoix numerique
protected CheckboxChoix taxonomique
protected CheckboxChoix texte
protected TextFieldChoix nom
protected TextFieldChoix pere
protected TextFieldChoix quest
protected TextFieldChoix nomComplet
protected java.awt.Panel type
protected AttributePanel pValeurs
| Constructor Detail |
|---|
public PAttributProperty(AttributDesc attributDesc,
ModelEditor editeur,
boolean editable)
| Method Detail |
|---|
public java.lang.String getCommentaire()
public void setCommentaire(java.lang.String s)
public void init()
init in class PElementPropertyprotected java.awt.Color changeColorType()
public void valider()
PElementProperty
valider in class PElementPropertypublic void actionPerformed(java.awt.event.ActionEvent e)
public void itemStateChanged(java.awt.event.ItemEvent e)
protected void changeType()
public void dispose()
dispose in class PElementPropertypublic java.awt.Dimension adaptedSize()
adaptedSize in class IkbsPanel
public void update(java.util.Observable o,
java.lang.Object args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||