A C D E F G H I L M N O P R S T V W X Y 
All Classes All Packages

A

addAllComponentsTo(Container) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Add all our components to the given Container object.
AsciiArtGridBagLayout - Class in org.hkmi2.aagbl
A variant of GridBagLayout that can be initialized using ascii art.
AsciiArtGridBagLayout() - Constructor for class org.hkmi2.aagbl.AsciiArtGridBagLayout
Simple no-args constructor
AsciiArtGridBagLayout(String) - Constructor for class org.hkmi2.aagbl.AsciiArtGridBagLayout
Main constructor, with the layout specification as an ASCII art drawing.

C

CRect - Class in org.hkmi2.aagbl
Component rectangle, that corresponds to a rectangle that was drawn on the supplied Ascii art drawing.
CRect() - Constructor for class org.hkmi2.aagbl.CRect
Default constructor with no arguments

D

debugBuilder - Static variable in class org.hkmi2.aagbl.GridBagLayoutBuilder
set to true to see some debugging messages on System.out .
debugParser - Static variable in class org.hkmi2.aagbl.LayoutParser
set to true to emit messages on System.out while parsing

E

evalFlags(String) - Method in class org.hkmi2.aagbl.LayoutParser
Process the flags : if '^' is encountered, add FILL_VERT, if '<' or '>' is encountered, add FILL_HORIZ.

F

FILL_HORIZ - Static variable in class org.hkmi2.aagbl.LayoutParser
value that corresponds to the presence of horizontal filling chars ('<', '>')
FILL_VERT - Static variable in class org.hkmi2.aagbl.LayoutParser
value that corresponds to the presence of a vertical filling char ('^')
findCRect(int, int) - Method in class org.hkmi2.aagbl.LayoutParser
find a CRect whose last line is just above px and py
findCRect(String) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Find a rectangle with the given name
flags - Variable in class org.hkmi2.aagbl.CRect
flags

G

getAllComponentNames() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get all the component names
getAllComponents() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get all the components that were declared.
getAllComponentsAsCsNameList() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Return a String that contains a comma-separated list of all component names
getAllConstraintNames() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get all the constraint names
getAllCRectNames() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Return a list of all non-empty CRect names.
getAsciiArt() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Return the current ASCII art drawing
getComponent(String) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get the component that has the given name
getConstraints(String) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get the GridBagConstraints for the given name
getCRects() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Return a list of all the declared CRects
getCRects() - Method in class org.hkmi2.aagbl.LayoutParser
Return the CRects
getGridBagLayout() - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Get the GridBagLayout
getGridBagLayoutBuilder() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get the builder that is used.
getInsetsToUse() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Gets the Insets to use for future calls to AsciiArtGridBagLayout.setConstraints(String, Component).
getInsetsToUse() - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Gets the Insets to use.
getMaxX() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get Max X which is the maximum char number used in the drawing, without the final column.
getMaxY() - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Get Max Y which is the maximum line number used in the drawing, without the final line.
GridBagLayoutBuilder - Class in org.hkmi2.aagbl
This object builds a series of GridBagLayouts from a list of rectangles (that were defined in a Ascii art drawing, and parsed using a LayoutParser) This is a utility class that handles a list of components and rectangles, and computes the GridBagConstraints for each component.
GridBagLayoutBuilder(List<CRect>) - Constructor for class org.hkmi2.aagbl.GridBagLayoutBuilder
Default constructor

H

h - Variable in class org.hkmi2.aagbl.CRect
width ant height
halign - Variable in class org.hkmi2.aagbl.CRect
horizontal alignment : 1 left 2 centered 3 right

I

insets - Variable in class org.hkmi2.aagbl.CRect
the insets, default : Insets(5, 5, 5, 5)
ipadx - Variable in class org.hkmi2.aagbl.CRect
ipad of x (0 by default)
ipady - Variable in class org.hkmi2.aagbl.CRect
ipad of y (0 by default)
isNameChar(char) - Method in class org.hkmi2.aagbl.LayoutParser
Is c compatible with a name
isNameStart(char) - Method in class org.hkmi2.aagbl.LayoutParser
Is c compatible with the start of a name
isNameValid(String) - Method in class org.hkmi2.aagbl.LayoutParser
Is the name a valid name for a rectangle

L

LayoutParseException - Exception in org.hkmi2.aagbl
Exception specialized class that gets thrown when there was an error in the parsing of an Ascii art layout file.
LayoutParseException() - Constructor for exception org.hkmi2.aagbl.LayoutParseException
Constructor
LayoutParseException(String) - Constructor for exception org.hkmi2.aagbl.LayoutParseException
Constructor with message
LayoutParseException(String, Throwable) - Constructor for exception org.hkmi2.aagbl.LayoutParseException
Constructor with message and cause
LayoutParseException(String, Throwable, boolean, boolean) - Constructor for exception org.hkmi2.aagbl.LayoutParseException
Full constructor with all usual options for Exception
LayoutParseException(Throwable) - Constructor for exception org.hkmi2.aagbl.LayoutParseException
Constructor with Throwable
LayoutParser - Class in org.hkmi2.aagbl
The parser that analyzes the Ascii art drawing.
LayoutParser() - Constructor for class org.hkmi2.aagbl.LayoutParser
Default constructor
lineOfName - Variable in class org.hkmi2.aagbl.CRect
line that contains the name

M

makeGridBagConstraints(String) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Calculate the GridBagConstraints for the CRect that has the given name Create a GridBagConstraints object for the rectangle of the given name.
makeMap(Object[]) - Static method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Using an array of objects, make a HashMap.

N

name - Variable in class org.hkmi2.aagbl.CRect
name of CRect (can be null if no name given)
normalize(String) - Method in class org.hkmi2.aagbl.LayoutParser
Normalize format string : - Trim the line - Replace all '-' and '|' with '+'

O

org.hkmi2.aagbl - package org.hkmi2.aagbl
 

P

parseSpec(List<char[]>) - Method in class org.hkmi2.aagbl.LayoutParser
Parse Ascii Art specification

R

readSpec(BufferedReader) - Method in class org.hkmi2.aagbl.LayoutParser
Step one : read all lines, ignoring the empty ones, and trimming the others.
removeFlags(String) - Method in class org.hkmi2.aagbl.LayoutParser
Remove the flags from the spec line.

S

setAsciiArt(String) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the ASCII art drawing, and compute the layout
setConstraints(String, Component) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the constraints for the given component.
setConstraints(Map<String, Component>) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the constraints for all the components of the map.
setInsets(String, Insets) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the insets for a list of rectangles (comma-separated list of names)
setInsetsToUse(Insets) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the Insets to use as default instead of the default ones in CRect.
setInsetsToUse(Insets) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the insets to use.
setIpadx(String, int) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the x ipadding for all the components in the list (comma-separated list, no whitespace) and re-applies all the constraints for the components in the list
setIpadx(String, int) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the x ipadding for a list of rectangles (comma-separated list of names)
setIpady(String, int) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the y ipadding for all the components in the list (comma-separated list, no whitespace) and re-applies all the constraints for the components in the list
setIpady(String, int) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the y ipadding for a list of rectangles (comma-separated list of names)
setWeightx(String, double) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Set the x weight for all the components in the list (comma-separated list, no whitespace) Sets the x-weight for all the components in the list, and re-applies all the constraints for the components in the list
setWeightx(String, double) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the x weight for a list of rectangles (comma-separated list of names)
setWeighty(String, double) - Method in class org.hkmi2.aagbl.AsciiArtGridBagLayout
Sets the y-weight for all the components in the list (comma-separated list, no whitespace), and re-applies all the constraints for the components in the list
setWeighty(String, double) - Method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Sets the y weight for a list of rectangles (comma-separated list of names)
split(String) - Static method in class org.hkmi2.aagbl.GridBagLayoutBuilder
Split the given comma-separated list into an array of Strings

T

toString() - Method in class org.hkmi2.aagbl.CRect
convert this CRect to String

V

valign - Variable in class org.hkmi2.aagbl.CRect
vertical alignment : 1 top 2 centered 3 bottom

W

w - Variable in class org.hkmi2.aagbl.CRect
width ant height
weightx - Variable in class org.hkmi2.aagbl.CRect
weight of x : if >= 0 will be used to force weightx
weighty - Variable in class org.hkmi2.aagbl.CRect
weight of y : if >= 0 will be used to force weighty

X

x - Variable in class org.hkmi2.aagbl.CRect
x and y coordinates

Y

y - Variable in class org.hkmi2.aagbl.CRect
x and y coordinates
A C D E F G H I L M N O P R S T V W X Y 
All Classes All Packages