-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved log in; Added placeholder tab for administrative tasks (swit…
…ching users, etc.)
- Loading branch information
rxdps93
committed
Apr 24, 2019
1 parent
8bf7c32
commit 5880dbe
Showing
7 changed files
with
60 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/com/dom/freeman/components/admin/AdminPanel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.dom.freeman.components.admin; | ||
|
||
import com.dom.freeman.components.ViewPanel; | ||
import com.googlecode.lanterna.gui2.Interactable; | ||
import com.googlecode.lanterna.gui2.Label; | ||
import com.googlecode.lanterna.gui2.LayoutManager; | ||
import com.googlecode.lanterna.input.KeyType; | ||
|
||
public class AdminPanel extends ViewPanel { | ||
|
||
private Interactable interactable; | ||
|
||
public AdminPanel() { | ||
super(KeyType.F7); | ||
this.configureContent(); | ||
} | ||
|
||
public AdminPanel(LayoutManager layoutManager) { | ||
super(layoutManager, KeyType.F7); | ||
this.configureContent(); | ||
} | ||
|
||
private void configureContent() { | ||
|
||
this.addComponent(new Label("Hello")); | ||
} | ||
|
||
@Override | ||
public Interactable getPrimaryInteractable() { | ||
return this.interactable; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters