com.cbse.jeasy
Class JEBorder

java.lang.Object
  extended by com.cbse.jeasy.JEObject
      extended by com.cbse.jeasy.JEBorder

public class JEBorder
extends JEObject

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

Version:
%I%, %G%
Author:
H.Pfohl

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

JEBorder

public JEBorder(java.lang.String s)
Reads the properties from a string.

Parameters:
s - contains properties and values
See Also:
JE#PropertyString
Method Detail

getBorderIntType

public int getBorderIntType()
Returns:
Returns the type of a border used as a paramter by BorderFactory.

getHighlight

public java.awt.Color getHighlight()
Returns:
Returns the highlight color.

getHighlightInner

public java.awt.Color getHighlightInner()
Returns:
Returns the highlightInner.

getHighlightOuter

public java.awt.Color getHighlightOuter()
Returns:
Returns the highlightOuter.

getColor

public java.awt.Color getColor()
Returns:
Returns the scolor.

getShadow

public java.awt.Color getShadow()
Returns:
Returns the shadow.

getShadowInner

public java.awt.Color getShadowInner()
Returns:
Returns the shadowInner.

getShadowOuter

public java.awt.Color getShadowOuter()
Returns:
Returns the shadowOuter.

getThickness

public int getThickness()
Returns:
Returns the sthickness.

getTileIcon

public javax.swing.ImageIcon getTileIcon()
Returns:
Returns the sTileIcon.

getTitle

public java.lang.String getTitle()
Description copied from class: JEObject
Gets the title of the JEObject

Overrides:
getTitle in class JEObject
Returns:
Returns the stitle.

getTitleColor

public java.awt.Color getTitleColor()
Returns:
Returns the stitleColor.

getTitleFont

public java.awt.Font getTitleFont()
Returns:
Returns the stitleFont.

getTitleJustification

public int getTitleJustification()
Returns:
Returns the stitleJustification.

getTitlePosition

public int getTitlePosition()
Returns:
Returns the stitlePosition.

getBorder

public javax.swing.border.Border getBorder()

start

public void start()
Creates the jfc components using the properties

Overrides:
start in class JEObject
See Also:
JE#start