Module com.googlecode.lanterna
Class FileDialog.FileSystemLocationLabel
- java.lang.Object
-
- com.googlecode.lanterna.gui2.AbstractComponent<Label>
-
- com.googlecode.lanterna.gui2.Label
-
- com.googlecode.lanterna.gui2.dialogs.FileDialog.FileSystemLocationLabel
-
- All Implemented Interfaces:
Component
,TextGUIElement
- Enclosing class:
- FileDialog
private class FileDialog.FileSystemLocationLabel extends Label
-
-
Constructor Summary
Constructors Constructor Description FileSystemLocationLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBeforeDrawing()
This method is called just before the component's renderer is invoked for the drawing operation.-
Methods inherited from class com.googlecode.lanterna.gui2.Label
addStyle, createDefaultRenderer, getBackgroundColor, getBounds, getForegroundColor, getLabelWidth, getText, removeStyle, setBackgroundColor, setForegroundColor, setLabelWidth, setLines, setText, splitIntoMultipleLines
-
Methods inherited from class com.googlecode.lanterna.gui2.AbstractComponent
addTo, calculatePreferredSize, draw, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, invalidate, isInside, isInvalid, isVisible, onAdded, onAfterDrawing, onRemoved, runOnGUIThreadIfExistsOtherwiseRunDirect, self, setLayoutData, setPosition, setPreferredSize, setRenderer, setSize, setTheme, setVisible, toBasePane, toGlobal, withBorder
-
-
-
-
Method Detail
-
onBeforeDrawing
public void onBeforeDrawing()
Description copied from class:AbstractComponent
This method is called just before the component's renderer is invoked for the drawing operation. You can use this hook to do some last-minute adjustments to the component, as an alternative to coding it into the renderer itself. The component should have the correct size and position at this point, if you callgetSize()
andgetPosition()
.- Overrides:
onBeforeDrawing
in classAbstractComponent<Label>
-
-