BorderEx

BorderEx is not a component per se but rather a form of Border object that allows all 4 side of the border to be individually set.

One implication of BorderEx is that only EPNG components support it. This is because the "rendering" code of the component has to under stand that 4 sides can be set. The base Echo2 components do not have this functionality.

Hopefully this capability will make its way back into the base Echo2 framework as its a basic HTML/CSS capability

Example

                BorderEx borderEx = new BorderEx(
                                1,Color.RED,Border.STYLE_DASHED,
                                2,Color.BLUE,Border.STYLE_NONE,
                                3,Color.BLACK,Border.STYLE_SOLID,
                                4,Color.GREEN,Border.STYLE_DOTTED
                                );

last edited 2006-12-01 04:01:07 by bbakerman