|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.cbse.jeasy.JEObject
com.cbse.jeasy.JEBorder
public class JEBorder
A class building a Border.
| Properties | ||
|---|---|---|
| name | values | comment |
| id | * | Id of the object. Let it begin with BO_ | borderType | Bevel (int type) Bevel (int type, Color highlight, Color shadow) Bevel (int type, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner) Compound () Empty () Empty (int top, int left, int bottom, int right) Etched () Etched (Color highlight, Color shadow) Etched (int type) Etched (int type, Color highlight, Color shadow) Line (Color color) Line (Color color, int thickness) LoweredBevel () Matte (int top, int left, int bottom, int right, Color color) Matte (int top, int left, int bottom, int right, Icon tileIcon) RaisedBevel() |
The method of the BorderFactory used to build a border | type | LOWERED or RAISED | an integer specifying either LOWERED or RAISED |
| color |   | Id of a Color used for this border |
| shadowColor |   | Id of a color used as the shadow color |
| shadowInnerColor |   | Id of a color used for the inner edge of the shadow area |
| shadowOuter |   | Id of a color used for the outer edge of the shadow area |
| highlightColor |   | Id of a color used as the highlightbackground |
| highlightOuterColor |   | Id of a color used for the outer edge of the highlight area |
| highlightInnerColor |   | Id of a color used for the inner edge of the highlight area |
| top |   | An integer specifying the width of the top, in pixels |
| left |   | An integer specifying the width of the left side, in pixels |
| bottom |   | An integer specifying the width of the bottom, in pixels |
| right |   | An integer specifying the width of the right side, in pixels |
| thickness |   | An integer specifying the width in pixels when using LineBorder |
| title |   | A String containing the text of the title |
| titleJustification | LEFT CENTER RIGHT LEADING TRAILING |
A String specifying the justification of the title. |
| titlePosition | ABOVE_TOP TOP BELOW_Top ABOVE_TOP ABOVE_BOTTOM BOTTOM BELOW_BOTTOM |
A String specifying the vertical position of the text in relation to the border |
| titleFont |   | A Font specifying the title font |
| titleColor |   | A Color specifying the title color |
| tileIcon |   | O |
* = property you have to set; bold = default value
| Nested Class Summary | |
|---|---|
class |
JEBorder.ShadowBorder
|
| Field Summary |
|---|
| Fields inherited from class com.cbse.jeasy.JEObject |
|---|
DEVELOPPING, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_TIME, INPUT_ERRORS, NO_INPUT_ERROR, RUNNING |
| Constructor Summary | |
|---|---|
JEBorder(java.lang.String s)
Reads the properties from a string. |
|
| Method Summary | |
|---|---|
javax.swing.border.Border |
getBorder()
|
int |
getBorderIntType()
|
java.awt.Color |
getColor()
|
java.awt.Color |
getHighlight()
|
java.awt.Color |
getHighlightInner()
|
java.awt.Color |
getHighlightOuter()
|
java.awt.Color |
getShadow()
|
java.awt.Color |
getShadowInner()
|
java.awt.Color |
getShadowOuter()
|
int |
getThickness()
|
javax.swing.ImageIcon |
getTileIcon()
|
java.lang.String |
getTitle()
Gets the title of the JEObject |
java.awt.Color |
getTitleColor()
|
java.awt.Font |
getTitleFont()
|
int |
getTitleJustification()
|
int |
getTitlePosition()
|
void |
start()
Creates the jfc components using the properties |
| Methods inherited from class com.cbse.jeasy.JEObject |
|---|
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getComponent, getEast, getElementAt, getElementSize, getId, getJCallBack, getJClass, getLabel, getMode, getName, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, wasEntryChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JEBorder(java.lang.String s)
s - contains properties and valuesJE#PropertyString| Method Detail |
|---|
public int getBorderIntType()
public java.awt.Color getHighlight()
public java.awt.Color getHighlightInner()
public java.awt.Color getHighlightOuter()
public java.awt.Color getColor()
public java.awt.Color getShadow()
public java.awt.Color getShadowInner()
public java.awt.Color getShadowOuter()
public int getThickness()
public javax.swing.ImageIcon getTileIcon()
public java.lang.String getTitle()
JEObject
getTitle in class JEObjectpublic java.awt.Color getTitleColor()
public java.awt.Font getTitleFont()
public int getTitleJustification()
public int getTitlePosition()
public javax.swing.border.Border getBorder()
public void start()
start in class JEObjectJE#start
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||