public class EmptySpace extends AbstractComponent
Component.Alignment
Constructor and Description |
---|
EmptySpace() |
EmptySpace(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
protected TerminalSize |
calculatePreferredSize() |
void |
repaint(TextGraphics graphics)
This is the main 'paint' method for a component, it's called when
lanterna wants the component to re-draw itself.
|
addBorder, addComponentListener, getAlignment, getComponentListeners, getGUIScreen, getMinimumSize, getParent, getPreferredSize, getWindow, invalidate, isScrollable, isVisible, removeComponentListener, setAlignment, setParent, setPreferredSize, setVisible, transformAccordingToAlignment
public EmptySpace()
public EmptySpace(int width, int height)
protected TerminalSize calculatePreferredSize()
calculatePreferredSize
in class AbstractComponent
public void repaint(TextGraphics graphics)
Component
graphics
- TextGraphics object to use for drawing the component and
getting information about the drawing contextCopyright © 2015. All Rights Reserved.