Package org.apache.uima.tools.stylemap
Class TableGUIMediator
java.lang.Object
org.apache.uima.tools.stylemap.TableGUIMediator
Mediates GI elements in StyleMapEditor keeping buttons enabled or disabled depending on whether a
row is selected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the column selected.intGets the row selected.voidsetButtons(ImageButton up, ImageButton down, ImageButton delete) Sets the buttons.voidSets the entry button.voidSets the table.voidTable clicked.voidTree clicked.
-
Constructor Details
-
TableGUIMediator
public TableGUIMediator()Instantiates a new table GUI mediator.
-
-
Method Details
-
setTable
Sets the table.- Parameters:
t- the new table
-
tableClicked
Table clicked.- Parameters:
ev- the ev
-
setButtons
Sets the buttons.- Parameters:
up- the updown- the downdelete- the delete
-
getRowSelected
public int getRowSelected()Gets the row selected.- Returns:
- the row selected
-
getColumnSelected
public int getColumnSelected()Gets the column selected.- Returns:
- the column selected
-
setEntryButton
Sets the entry button.- Parameters:
but- the new entry button
-
treeClicked
public void treeClicked()Tree clicked.
-