Class EntityInspectorEntry
- java.lang.Object
-
- de.unistuttgart.informatik.fius.icge.ui.EntityInspectorEntry
-
public class EntityInspectorEntry extends Object
EntityInspectorEntry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Getter for the nameString
getType()
Getter for the typeString
getValue()
Getter for the valuevoid
runCallback(String arg)
This function runs the callback of the item
-
-
-
Constructor Detail
-
EntityInspectorEntry
public EntityInspectorEntry(String name, String type, String value, Consumer<String> callback)
Default constructor- Parameters:
name
- The name of the settingtype
- The type of the settingvalue
- The start value of the settingcallback
- The labda wich gets called when the value changes
-
-
Method Detail
-
getName
public String getName()
Getter for the name- Returns:
- returns the name
-
getType
public String getType()
Getter for the type- Returns:
- returns the type
-
getValue
public String getValue()
Getter for the value- Returns:
- returns the value
-
runCallback
public void runCallback(String arg)
This function runs the callback of the item- Parameters:
arg
- The argument of the callback
-
-