- java.lang.Object
-
- org.tentackle.fx.AbstractFxController
-
- org.tentackle.fx.rdc.admin.SessionsView
-
- All Implemented Interfaces:
org.tentackle.fx.FxController,org.tentackle.validate.ScopeConfigurator
@FxControllerService(binding=NO) public class SessionsView extends org.tentackle.fx.AbstractFxControllerView showing all sessions logged in to the middle tier.
Allows killing sessions as well.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description SessionsView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()protected org.tentackle.fx.table.TableConfiguration<org.tentackle.pdo.AdminExtension.SessionData>createTableConfiguration()Creates the table configuration.org.tentackle.fx.container.FxHBoxgetButtonBox()Gets the button box.
Used to add additional buttons, for example to close the stage.protected booleanisKillSessionAllowed()Returns whether killing a session is allowed.protected voidshowSecurityDialog()Shows the security dialog.
-
-
-
Method Detail
-
configure
public void configure()
- Specified by:
configurein interfaceorg.tentackle.fx.FxController- Overrides:
configurein classorg.tentackle.fx.AbstractFxController
-
getButtonBox
public org.tentackle.fx.container.FxHBox getButtonBox()
Gets the button box.
Used to add additional buttons, for example to close the stage.- Returns:
- the button box
-
isKillSessionAllowed
protected boolean isKillSessionAllowed()
Returns whether killing a session is allowed.- Returns:
- true if allowed
-
showSecurityDialog
protected void showSecurityDialog()
Shows the security dialog.
-
createTableConfiguration
protected org.tentackle.fx.table.TableConfiguration<org.tentackle.pdo.AdminExtension.SessionData> createTableConfiguration()
Creates the table configuration.- Returns:
- the table config
-
-