Package org.compiere.apps.wf
Class MultilineLabelWidget
java.lang.Object
org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.LabelWidget
org.compiere.apps.wf.MultilineLabelWidget
- All Implemented Interfaces:
Accessible,org.openide.util.Lookup.Provider
public class MultilineLabelWidget
extends org.netbeans.api.visual.widget.LabelWidget
Multiple lines text box
-
Nested Class Summary
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.LabelWidget
org.netbeans.api.visual.widget.LabelWidget.Alignment, org.netbeans.api.visual.widget.LabelWidget.Orientation, org.netbeans.api.visual.widget.LabelWidget.VerticalAlignmentNested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency -
Constructor Summary
ConstructorsConstructorDescriptionMultilineLabelWidget(org.netbeans.api.visual.widget.Scene scene, String label) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs text layout fully justifiedprotected voidvoidsetJustified(boolean justify) Set whether text layout is fully justifiedMethods inherited from class org.netbeans.api.visual.widget.LabelWidget
calculateClientArea, getAlignment, getLabel, getOrientation, getVerticalAlignment, isPaintAsDisabled, isUseGlyphVector, setAlignment, setLabel, setOrientation, setPaintAsDisabled, setUseGlyphVector, setVerticalAlignmentMethods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
-
Constructor Details
-
MultilineLabelWidget
-
-
Method Details
-
paintWidget
protected void paintWidget()- Overrides:
paintWidgetin classorg.netbeans.api.visual.widget.LabelWidget
-
isJustified
public boolean isJustified()Is text layout fully justified- Returns:
- true if text layout is fully justified
-
setJustified
public void setJustified(boolean justify) Set whether text layout is fully justified- Parameters:
justify-
-