|
||||||||||
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.GroupEditorView
public class GroupEditorView
View of the group 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 | |
---|---|
GroupEditorView()
Default constructor. |
Method Summary | |
---|---|
void |
addActionListener(ActionListener listener)
Add the given action listener to components supporting ActionCommands. |
String |
getDescription()
Get the description |
String |
getGroupName()
Get the displayed Property name. |
JComboBox |
getGroupTypeSelectionComboBox()
Get the group type selection combobox. |
int |
getId()
Get the Id of the group. |
HashMap<String,JCheckBox> |
getMandatoryPropertiesCheckBoxMap()
Get the map of checkBoxes for the different types of properties. |
HashMap<String,JComboBox> |
getMandatoryPropertiesComboBoxMap()
Return the map of the comboBoxes for the different types of properties. |
HashMap<String,JCheckBox> |
getOptionalPropertiesCheckBoxMap()
|
HashMap<String,JComboBox> |
getOptionalPropertiesComboBoxMap()
|
void |
setDescription(String description)
Set the description view. |
void |
setGroupName(String name)
set the displayed Property name. |
void |
setId(int id)
Set the id of the group. |
void |
showHideAdvancedPanelPerformedAction(boolean showPanel)
Show/hide the advanced settings sub-panel. |
void |
updateGroupOperatorPanel(com.artenum.frida.processing.GroupOperatorTypeFilter groupOperatorTypeFilter,
String selectedGroupType,
HashMap<String,com.artenum.frida.interfaces.GroupOperatorInterface> operatorMap)
Update the sub-panel for the Group Operators according the Group Type. |
void |
updateMandatoryPanel(com.artenum.frida.processing.PropertyTypesFilter typesFilter,
String selectedGroupType,
HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
Update the view of the mandatory properties panel. |
void |
updateOptionalPanel(com.artenum.frida.processing.PropertyTypesFilter typesFilter,
String selectedGroupType,
HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
Update the view of the optional properties panel. |
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 GroupEditorView()
Method Detail |
---|
public void addActionListener(ActionListener listener)
listener
- public void showHideAdvancedPanelPerformedAction(boolean showPanel)
showPanel
- - Show panel is true, hide otherwise.public void updateMandatoryPanel(com.artenum.frida.processing.PropertyTypesFilter typesFilter, String selectedGroupType, HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
typesFilter
- - property types filterselectedGroupType
- - key name of the selected group.propertiesCatalog
- - hashmap of mandatory properties for this group.public void updateOptionalPanel(com.artenum.frida.processing.PropertyTypesFilter typesFilter, String selectedGroupType, HashMap<String,com.artenum.frida.properties.PropertiesList> propertiesCatalog)
typesFilter
- - property types filterselectedGroupType
- - key name of the selected group.propertiesCatalog
- - hashmap of optional properties for this group.public void updateGroupOperatorPanel(com.artenum.frida.processing.GroupOperatorTypeFilter groupOperatorTypeFilter, String selectedGroupType, HashMap<String,com.artenum.frida.interfaces.GroupOperatorInterface> operatorMap)
groupOperatorTypeFilter
- - Operator filter on the group type to know which operators are supported (i.e available) for the
given group type.selectedGroupType
- - Selected group type.operatorMap
- - Hashmap of available operators.public JComboBox getGroupTypeSelectionComboBox()
public int getId()
public void setId(int id)
id
- - id of the group.public String getGroupName()
public void setGroupName(String name)
public void setDescription(String description)
description
- - Description of the viewpublic String getDescription()
public HashMap<String,JComboBox> getMandatoryPropertiesComboBoxMap()
public HashMap<String,JCheckBox> getMandatoryPropertiesCheckBoxMap()
public HashMap<String,JComboBox> getOptionalPropertiesComboBoxMap()
public HashMap<String,JCheckBox> getOptionalPropertiesCheckBoxMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |