title: JavaFX TableView Column Width\Contents auto-truncating
body: <p>I'm trying to "smartly" abbreviate/truncate the <code>String</code> contents of a column nested in a TableView. I have tried using <code>UNCONSTRAINED_RESIZE_POLICY</code> but really prefer <code>CONSTRAINED_RESIZE_POLICY</code> since it auto-resizes the columns based on the window size.</p>
  
  <p>What I'm trying to accomplish:</p>
  
  <pre><code>String one = "SomeVeryLongString";
  
  // Displayed in the column where user has shrunk it too narrow
  
  +-------------+
  | Some...ring |
  +-------------+
  
  // and if the user shrunk it a bit more
  
  +-----------+
  | Som...ing |
  +-----------+
  
  // and if they stretch it a bit
  
  +---------------+
  | SomeV...tring |
  +---------------+
  
  // etc...
  </code></pre>
  
  <p>I have explored the possibility of reading the <code>String</code> length and doing my own truncating, but then it's not possible to have this dynamically update as the user shrinks/stretches the gui. My gut says this must be done with the <code>JavaFX Classes</code> since it would be closely tied with <code>TableView</code>, however I have not found a way. </p>
  
  <p>How can I accomplish this using <code>JavaFX</code>?</p>