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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called just before the component's renderer is invoked for the drawing operation.Methods inherited from class Label
addStyle, createDefaultRenderer, getBackgroundColor, getBounds, getForegroundColor, getLabelWidth, getText, removeStyle, setBackgroundColor, setForegroundColor, setLabelWidth, setLines, setText, splitIntoMultipleLinesMethods inherited from class 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
-
Constructor Details
-
FileSystemLocationLabel
public FileSystemLocationLabel()
-
-
Method Details
-
onBeforeDrawing
public void onBeforeDrawing()Description copied from class:AbstractComponentThis 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:
onBeforeDrawingin classAbstractComponent<Label>
-