-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Border display is not accurate(54233)
Remove the hardcode default color, now get the default color from model.
- Loading branch information
ning.zhang
authored and
cchao
committed
Oct 25, 2012
1 parent
b47bb5a
commit ce699aa
Showing
5 changed files
with
85 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 23 additions & 12 deletions
35
...gner.ui/src/org/eclipse/birt/report/designer/internal/ui/swt/custom/BorderInfomation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,69 @@ | ||
|
||
package org.eclipse.birt.report.designer.internal.ui.swt.custom; | ||
|
||
import org.eclipse.swt.graphics.RGB; | ||
|
||
|
||
public class BorderInfomation | ||
{ | ||
|
||
public static final String BORDER_LEFT = "left"; //$NON-NLS-1$ | ||
public static final String BORDER_TOP = "top"; //$NON-NLS-1$ | ||
public static final String BORDER_RIGHT = "right"; //$NON-NLS-1$ | ||
public static final String BORDER_BOTTOM= "bottom"; //$NON-NLS-1$ | ||
|
||
|
||
public static final String BORDER_BOTTOM = "bottom"; //$NON-NLS-1$ | ||
|
||
String position; | ||
String style; | ||
RGB color; | ||
String width; | ||
|
||
RGB defaultColor; | ||
|
||
public RGB getDefaultColor( ) | ||
{ | ||
return defaultColor; | ||
} | ||
|
||
public String getPosition( ) | ||
{ | ||
return position; | ||
} | ||
|
||
public void setPosition( String position ) | ||
{ | ||
this.position = position; | ||
} | ||
|
||
public String getStyle( ) | ||
{ | ||
return style; | ||
} | ||
|
||
public void setStyle( String style ) | ||
{ | ||
this.style = style; | ||
} | ||
|
||
public RGB getColor( ) | ||
{ | ||
return color; | ||
} | ||
|
||
public void setColor( RGB color ) | ||
{ | ||
this.color = color; | ||
} | ||
|
||
public String getWidth( ) | ||
{ | ||
return width; | ||
} | ||
|
||
public void setWidth( String width ) | ||
{ | ||
this.width = width; | ||
} | ||
|
||
public void setDefaultColor( RGB defaultColor ) | ||
{ | ||
this.defaultColor = defaultColor; | ||
} | ||
} |