Package jadex.micro.philosophers.agents
Class TableGui
java.lang.Object
jadex.micro.philosophers.AbstractTableGui
jadex.micro.philosophers.agents.TableGui
-
Nested Class Summary
Nested classes/interfaces inherited from class jadex.micro.philosophers.AbstractTableGui
AbstractTableGui.PaintData
-
Field Summary
FieldsFields inherited from class jadex.micro.philosophers.AbstractTableGui
paintdata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
executeOnPhilo
(int no, Function<IPhilosopherService, Object> cmd) protected Object
executeOnPhilo
(jadex.core.IExternalAccess philo, Function<IPhilosopherService, Object> cmd) protected Object
void
boolean
void
void
notifyPhilosopher
(int no, long time) readData
(int n) Methods inherited from class jadex.micro.philosophers.AbstractTableGui
loadImage
-
Field Details
-
ta
protected jadex.core.IExternalAccess ta
-
-
Constructor Details
-
TableGui
public TableGui(int n, jadex.core.IExternalAccess ta)
-
-
Method Details
-
readData
- Specified by:
readData
in classAbstractTableGui
-
notifyPhilosopher
public void notifyPhilosopher(int no, long time) - Specified by:
notifyPhilosopher
in classAbstractTableGui
-
isWaitForClicks
public boolean isWaitForClicks()- Specified by:
isWaitForClicks
in classAbstractTableGui
-
invertWaitForClicks
public void invertWaitForClicks()- Specified by:
invertWaitForClicks
in classAbstractTableGui
-
notifyAllPhilosophers
public void notifyAllPhilosophers()- Specified by:
notifyAllPhilosophers
in classAbstractTableGui
-
executeOnTable
-
executeOnPhilo
-
executeOnPhilo
protected Object executeOnPhilo(jadex.core.IExternalAccess philo, Function<IPhilosopherService, Object> cmd)
-