-
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.
- Loading branch information
youngjt
authored and
youngjt
committed
Jan 11, 2018
1 parent
cbc45f1
commit 791a5a3
Showing
5 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file renamed
BIN
+3.1 MB
releases/ShiftOverflow_v0.4.0DEMO.jar → releases/ShiftOverflow_v0.4.1.jar
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package ui; | ||
|
||
import javafx.geometry.Insets; | ||
import javafx.scene.layout.Border; | ||
import javafx.scene.layout.BorderStroke; | ||
import javafx.scene.layout.BorderStrokeStyle; | ||
import javafx.scene.layout.BorderWidths; | ||
import javafx.scene.layout.CornerRadii; | ||
import javafx.scene.paint.Color; | ||
import javafx.scene.text.Text; | ||
import javafx.scene.text.TextFlow; | ||
|
||
public class ScheduleBox extends TextFlow { | ||
|
||
|
||
public ScheduleBox(Text text, boolean isBottom) { | ||
super(text); | ||
if (isBottom) { | ||
this.setBorder(new Border(new BorderStroke(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK, | ||
BorderStrokeStyle.NONE, BorderStrokeStyle.NONE, BorderStrokeStyle.SOLID, BorderStrokeStyle.NONE, | ||
CornerRadii.EMPTY, new BorderWidths(0, 0, 5, 0), Insets.EMPTY))); | ||
} | ||
} | ||
|
||
} |
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