|
||||||||||
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 org.keridwen.modelling.group.editor.ui.PropertyEditorView
public class PropertyEditorView
GUI view for the Property Editor.
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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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 | |
---|---|
PropertyEditorView(ActionListener listener)
Default constructor. |
Method Summary | |
---|---|
void |
addActionListener(ActionListener listener)
|
String |
getDescription()
Get the displayed description. |
int |
getId()
Get the value of the Id text field. |
JPanel |
getMainPanel()
Return the main panel. |
JLabel |
getParentPropertyName()
Get the parent Property name as displayed. |
String |
getPropertyName()
Get the displayed Property name. |
void |
initComponents()
Initialise the whole panel. |
void |
setCharacteristicListModel(HashMap<String,com.artenum.frida.interfaces.CharacteristicInterface<?>> characteristicList)
Set the characteristicList to be displayed. |
void |
setCompound(boolean flag)
Set if the compound check-box. |
void |
setDescription(String description)
Set the displayed description. |
void |
setId(int id)
Set the Id of the Property into the Id text field. |
void |
setParentPropertyName(JLabel parentPropertyName)
Set the parent Property name as displayed. |
void |
setPropertyName(String name)
set the displayed Property name. |
void |
setSubPropertyListModel(HashMap<String,com.artenum.frida.interfaces.PropertyInterface> subPropertiesList)
Set the sub-property list to be displayed. |
void |
setValid(boolean flag)
Set the valid check-box. |
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 |
Constructor Detail |
---|
public PropertyEditorView(ActionListener listener)
listener
- Method Detail |
---|
public void initComponents()
public void addActionListener(ActionListener listener)
public JPanel getMainPanel()
public int getId()
public void setId(int id)
id
- Id of the Property.public String getPropertyName()
public void setPropertyName(String name)
public JLabel getParentPropertyName()
public void setParentPropertyName(JLabel parentPropertyName)
parentPropertyName
- - Name to display.public String getDescription()
public void setDescription(String description)
description
- Displayed description.public void setCharacteristicListModel(HashMap<String,com.artenum.frida.interfaces.CharacteristicInterface<?>> characteristicList)
characteristicList
- - Characteristic list to be displayed.public void setSubPropertyListModel(HashMap<String,com.artenum.frida.interfaces.PropertyInterface> subPropertiesList)
subPropertiesList
- - Sub-property list displayed.public void setCompound(boolean flag)
flag
- - boolean value.public void setValid(boolean flag)
flag
- - boolean value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |