(Element e)
| 2226 | public ViewFactory getViewFactory() { |
| 2227 | return new HTMLFactory() { |
| 2228 | public View create(Element e) { |
| 2229 | View v = super.create(e); |
| 2230 | if (!(v instanceof javax.swing.text.html.ParagraphView)) |
| 2231 | return v; |
| 2232 | else |
| 2233 | return new javax.swing.text.html.ParagraphView(e) { |
| 2234 | protected SizeRequirements calculateMinorAxisRequirements( |
| 2235 | int axis, SizeRequirements r) { |
| 2236 | r = super.calculateMinorAxisRequirements(axis, r); |
| 2237 | r.minimum = 1; |
| 2238 | return r; |
| 2239 | } |
| 2240 | }; |
| 2241 | } |
| 2242 | }; |
| 2243 | } |
| 2244 | }); |
no outgoing calls
no test coverage detected