Cites this verse
I answer that, As stated above (Question [173], Article [2]), the prophecy wherein, by the intelligible light, a supernatural truth is revealed through an imaginary vision, holds the mean between the prophecy wherein a supernatural truth is revealed without imaginary vision, and that wherein through the intelligible light and without an imaginary vision, man is directed to know or do things pertaining to human conduct. Now knowledge is more proper to prophecy than is action; wherefore the lowest degree of prophecy is when a man, by an inward instinct, is moved to perform some outward action. Thus it is related of Samson (Judges 15:14) that "the Spirit of the Lord came strongly upon him, and as the flax [*'Lina.' St. Thomas apparently read 'ligna' ('wood')] is wont to be consumed at the approach of fire, so the bands with which he was bound were broken and loosed." The second degree of prophecy is when a man is enlightened by an inward light so as to know certain things, which, however, do not go beyond the bounds of natural knowledge: thus it is related of Solomon (3 Kgs. 4:32,33) that "he spoke . . . parables . . . and he treated about trees from the cedar that is in Libanus unto the hyssop that cometh out of the wall, and he discoursed of beasts and of fowls, and of creeping things and of fishes": and all of this came from divine inspiration, for it was stated previously (3 Kgs. 4:29): "God gave to Solomon wisdom and understanding exceeding much."
Summa Theologiae II-II, q. 174, a. 3: Whether the degrees of prophecy can be distinguished according to the imaginary vision? I answer that (tr. Fathers of the English Dominican Province)