Package jisa.gui
Class Doc
- java.lang.Object
-
- jisa.gui.JFXElement
-
- jisa.gui.Doc
-
- All Implemented Interfaces:
Element
public class Doc extends JFXElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Doc.Align
static interface
Doc.Heading
static interface
Doc.Image
static interface
Doc.Link
static interface
Doc.List
static interface
Doc.Paragraph
static interface
Doc.Table
static interface
Doc.TableCell
static interface
Doc.TableRow
static interface
Doc.Value
-
Nested classes/interfaces inherited from interface jisa.gui.Element
Element.ElementBorder
-
-
Constructor Summary
Constructors Constructor Description Doc(java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Doc.Heading
addHeading(java.lang.String text)
Doc.Image
addImage(java.lang.String url)
Doc.Image
addImage(java.net.URL url)
Doc.Image
addImage(javafx.scene.image.Image image)
Doc.Link
addLink(java.lang.String text, java.lang.String url)
Doc.List
addList(boolean numbered)
Doc.Heading
addSubHeading(java.lang.String text)
Doc.Paragraph
addText(java.lang.String text)
Doc.Value
addValue(java.lang.String name, java.lang.String initial)
javafx.scene.paint.Color
getBackgroundColour()
void
setBackgroundColour(javafx.scene.paint.Color colour)
-
Methods inherited from class jisa.gui.JFXElement
addDialogButton, addDialogMenuButton, addToolbarButton, addToolbarMenuButton, addToolbarSeparator, autoAdjustSize, autoSizeWindow, clearDialogButtons, clearToolbar, close, getIcon, getMaxHeight, getMaxWidth, getMaxWindowHeight, getMaxWindowWidth, getMinHeight, getMinWidth, getNode, getStage, getTitle, getWindowHeight, getWindowWidth, hide, iconProperty, isDecorated, isExitOnClose, isMaximised, isShowing, setCentreNode, setDecorated, setExitOnClose, setIcon, setIcon, setMaxHeight, setMaximised, setMaxWidth, setMaxWindowHeight, setMaxWindowWidth, setMinHeight, setMinWidth, setOnClose, setTitle, setWindowHeight, setWindowSize, setWindowWidth, show, showAsAlert, showAsConfirmation, showAsDialog, titleProperty
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.gui.Element
getBorderedNode, isVisible, setVisible
-
-
-
-
Method Detail
-
setBackgroundColour
public void setBackgroundColour(javafx.scene.paint.Color colour)
-
getBackgroundColour
public javafx.scene.paint.Color getBackgroundColour()
-
addHeading
public Doc.Heading addHeading(java.lang.String text)
-
addSubHeading
public Doc.Heading addSubHeading(java.lang.String text)
-
addText
public Doc.Paragraph addText(java.lang.String text)
-
addList
public Doc.List addList(boolean numbered)
-
addImage
public Doc.Image addImage(java.net.URL url)
-
addImage
public Doc.Image addImage(java.lang.String url)
-
addImage
public Doc.Image addImage(javafx.scene.image.Image image)
-
addLink
public Doc.Link addLink(java.lang.String text, java.lang.String url)
-
addValue
public Doc.Value addValue(java.lang.String name, java.lang.String initial)
-
-