MCPcopy Create free account
hub / github.com/benfry/processing4 / create

Method create

app/src/processing/app/ui/Editor.java:2228–2241  ·  view source on GitHub ↗
(Element e)

Source from the content-addressed store, hash-verified

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 });

Callers 9

paintThumbMethod · 0.45
drawButtonMethod · 0.45
didChangeMethod · 0.45
didOpenMethod · 0.45
completionMethod · 0.45
formattingMethod · 0.45
declarationMethod · 0.45
referencesMethod · 0.45
didChangeWatchedFilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected