equal
deleted
inserted
replaced
77 this.outsideBorder = outsideBorder; |
77 this.outsideBorder = outsideBorder; |
78 this.insideBorder = insideBorder; |
78 this.insideBorder = insideBorder; |
79 } |
79 } |
80 |
80 |
81 /** |
81 /** |
82 * Returns whether or not this compound border is opaque. |
82 * Returns whether or not the compound border is opaque. |
83 * Returns true if both the inside and outside borders are |
83 * |
84 * non-null and opaque; returns false otherwise. |
84 * @return {@code true} if the inside and outside borders |
|
85 * are each either {@code null} or opaque; |
|
86 * or {@code false} otherwise |
85 */ |
87 */ |
|
88 @Override |
86 public boolean isBorderOpaque() { |
89 public boolean isBorderOpaque() { |
87 return (outsideBorder == null || outsideBorder.isBorderOpaque()) && |
90 return (outsideBorder == null || outsideBorder.isBorderOpaque()) && |
88 (insideBorder == null || insideBorder.isBorderOpaque()); |
91 (insideBorder == null || insideBorder.isBorderOpaque()); |
89 } |
92 } |
90 |
93 |