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 ObjectexecuteOnPhilo(int no, Function<IPhilosopherService, Object> cmd) protected ObjectexecuteOnPhilo(jadex.core.IExternalAccess philo, Function<IPhilosopherService, Object> cmd) protected ObjectvoidbooleanvoidvoidnotifyPhilosopher(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:
readDatain classAbstractTableGui
-
notifyPhilosopher
public void notifyPhilosopher(int no, long time) - Specified by:
notifyPhilosopherin classAbstractTableGui
-
isWaitForClicks
public boolean isWaitForClicks()- Specified by:
isWaitForClicksin classAbstractTableGui
-
invertWaitForClicks
public void invertWaitForClicks()- Specified by:
invertWaitForClicksin classAbstractTableGui
-
notifyAllPhilosophers
public void notifyAllPhilosophers()- Specified by:
notifyAllPhilosophersin classAbstractTableGui
-
executeOnTable
-
executeOnPhilo
-
executeOnPhilo
protected Object executeOnPhilo(jadex.core.IExternalAccess philo, Function<IPhilosopherService, Object> cmd)
-