Namespace: VBA
Class MultiLineLabelUI
Methods |
---|
Function layoutCompoundLabel(c As JComponent, fm As FontMetrics, text() As String, icon As Icon, verticalAlignment As Integer, horizontalAlignment As Integer, verticalTextPosition As Integer, horizontalTextPosition As Integer, viewR As Rectangle, iconR As Rectangle, textR As Rectangle, textIconGap As Integer) As String
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string. Locations are computed
relative to the viewR rectangle.
The JComponents orientation (LEADING/TRAILING) will also be taken
into account and translated into LEFT/RIGHT values accordingly.
|
Function layoutCompoundLabel(fm As FontMetrics, text() As String, icon As Icon, verticalAlignment As Integer, horizontalAlignment As Integer, verticalTextPosition As Integer, horizontalTextPosition As Integer, viewR As Rectangle, iconR As Rectangle, textR As Rectangle, textIconGap As Integer) As String
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string. Locations are computed
relative to the viewR rectangle.
This layoutCompoundLabel() does not know how to handle LEADING/TRAILING
values in horizontalTextPosition (they will default to RIGHT) and in
horizontalAlignment (they will default to CENTER).
Use the other version of layoutCompoundLabel() instead.
|
No description avail
|
Function splitStringByLines(str As String) As String
No description avail
|